HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   Allow client .htaccess overrides (http://www.howtoforge.com/forums/showthread.php?t=32914)

quentusrex 26th March 2009 20:21

Allow client .htaccess overrides
 
How do I enable a client to have certain .htaccess overrides?

quentusrex 26th March 2009 20:26

I also want to allow the .htaccess to turn on the modrewrite for drupal clean urls.

till 27th March 2009 12:19

You can set the overrides either in your apache2.conf file, in the vhost master template or in the apache directives field.

quentusrex 27th March 2009 23:20

Is there a way to do it per client? or if not how do I do it in the master?

till 27th March 2009 23:22

Quote:

Is there a way to do it per client?
No, just per site.

Quote:

or if not how do I do it in the master?
The master template is in /usr/local/ispconfig/server/conf/

quentusrex 27th March 2009 23:30

How would I allow a client to override the ErrorDocuments in the .htaccess file? what do I change in the vhost.master?

till 27th March 2009 23:32

You dont have to edit anything in .htaccess or vhost master to override the error documents. Just enable the checkbox in the site settings and the client can cahge the error pages in the error directory of ist website.

quentusrex 27th March 2009 23:33

drupal wants to be able to handle its own error documents. How would I enable this ability? Drupal says to do it in the .htaccess file, but apache says it isn't allowed.

till 27th March 2009 23:39

Which is the exact error message that you get in the apache error log of the site?

quentusrex 27th March 2009 23:40

/var/clients/client2/web2/web/.htaccess: ErrorDocument not allowed here


All times are GMT +2. The time now is 06:28.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.