Hot answers tagged

2

The problem here was ErrorDocument which doesn't interpolate server env vars...


2

For changing the main/primary domain, you will need to have root SSH access and be able to locate and edit the following file (replacing your user & domain info): /var/cpanel/userdata/USERNAME/DOMAIN.COM Once you have opened the file, look for the following line: documentroot: /home/USERNAME/public_html Modify the location according to your needs. ...


1

My problem is I have already one site in '/var/www/html' with domain1.com. If I add one more site domain2.com create a new folde like /var/www/new or /var/www/html/new, how to modify <VirtualHost *:80> part? because I have deified DocumentRoot /var/www/html. I'm not really sure what the "problem" is? You copy the entire <VirtualHost *:80> ...


1

It's most likely caching issue. Ask your customer to directly visit http://pub.biotinel.fr/bastide/ and check if he can see the content of the folder. Also, you may ask your customer to visit http://pub.biotinel.fr/?v=1 - this will most likely fetch the page again and he should see bastide folder.


1

Split your location into two sections: 1. <Location /apex/> - here you should put ProxyPassReverse options. 2. <Location /apex/(?!wwv_flow\.show)> - this one will match everything other then /apex/wwv_flow.show First section is required because ProxyPassReverse takes location literally and will go crazy on regex. If you encounter such ...


1

This will use for both www or non-www If you try to open link with www then url redirect to https with www Example: http://domain.com redirect to https://domain.com or If you try to open link with non-www then url redirect to https with non-www Example: http://www.domain.com redirect to https://www.domain.com RewriteEngine on RewriteCond ...



Only top voted, non community-wiki answers of a minimum length are eligible