This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://vuejsexamples.com/a-waterfall-layout-component-for-vue-js/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Redirect all requests to non-existent files and directories to home page | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. check if apache is running | |
sudo systemctl status httpd | |
2. verify mod_write | |
httpd -M | |
check for rewrite_module (shared) | |
3. If the rewrite_module does not appear in the output, enable it by editing the 00-base.conf file with the vi editor: | |
sudo vi /etc/httpd/conf.modules.d/00-base.conf | |
insert: LoadModule rewrite_module modules/mod_rewrite.so | |
4. Setting up a .htaccess File | |
sudo vi /etc/httpd/conf/httpd.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------------------ | |
FOR UBUNTU | |
------------------------------------------------------------------------------------------ | |
sudo a2enmod rewrite | |
sudo service apache2 restart | |
------------------------------------------------------------------------------------------ | |
------------------------------------------------------------------------------------------ | |
FOR CENTOS | |
------------------------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chmod -R 775 storage | |
sudo chmod -R 775 bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source folder 'api' as shortcut located at '/var/www/html' | |
sudo ln -s /var/www/html/api_source/public /var/www/html/api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf mydir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
less /var/log/aws/codedeploy-agent/codedeploy-agent.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-codecommit.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html |
NewerOlder