Tag Info

New answers tagged

1

We are going around in circles in the comment thread above, so let me state this clearly for you in the form of an answer: once your users have entered an HTTPS URL in their browser, they are committed to having an HTTPS transaction with a server that has a properly-signed certificate matching the hostname they've entered before they can do anything else at ...


0

Try using http-vhosts.conf file for the Directory block to allow access to directory, place it in :80 and :443 vhost file: ``` <Directory "/opt/bitnami/apps/wordpress/htdocs"> Options +SymLinksIfOwnerMatch AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,MultiViews Options Require all granted </Directory> ```


0

Are these 403s just happening with the HTTPS version? If so, in httpd-vhosts.conf, replicate the whole <Directory...> section into the <VirtualHost *:443> section. If not, there could be some restrictions in the .htaccess file, so add Satisfy Any (see https://httpd.apache.org/docs/2.4/mod/mod_access_compat.html#satisfy ) If those fail: is ...


0

If the new path of file is "/opt/bitnami/apps/wordpress/htdocs/" why is it included as #Include "/opt/bitnami/apps/wordpress/conf/htaccess.conf" in httpd-app ? Also, note that manually altering configuration paths for WP/WP themes will most likely cause them not to function properly as they do you use relative path. if you altered the path of a primary file, ...


4

Yes, you have two Apache installations on your VPS. You have Apache installed from the ubuntu repositories, installed in /usr You have Apache installed from source installed in /usr/local/apache2 Now, you stated in a comment that you tried to uninstall apache before reinstalling from source. It would appear that the uninstallation did not properly ...


6

Yes - they are reporting different version numbers hence are different instances of Apache. /usr/local/apache2 is the default base directory for a apache compiled from source, while the other one with files in /usr/sbin and /etc is the Ubuntu distributed version. Unless you have a very specific reason for doing otherwise it is best practice to stick with ...


1

Both of your domains will run with user/group combo of example2:example2, that's the only security implication of the shown config. I don't know whats the purpose of having 2 different vhost files for two subdomains, you could have just use: ServerName sub1.example2.com ServerAlias sub1.example1.com and be done with it. But, if you have some ...



Top 50 recent answers are included