Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th March 2009, 20:21
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default Allow client .htaccess overrides

How do I enable a client to have certain .htaccess overrides?
Reply With Quote
Sponsored Links
  #2  
Old 26th March 2009, 20:26
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

I also want to allow the .htaccess to turn on the modrewrite for drupal clean urls.
Reply With Quote
  #3  
Old 27th March 2009, 12:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

You can set the overrides either in your apache2.conf file, in the vhost master template or in the apache directives field.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 27th March 2009, 23:20
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

Is there a way to do it per client? or if not how do I do it in the master?
Reply With Quote
  #5  
Old 27th March 2009, 23:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

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/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 27th March 2009, 23:30
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

How would I allow a client to override the ErrorDocuments in the .htaccess file? what do I change in the vhost.master?
Reply With Quote
  #7  
Old 27th March 2009, 23:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 27th March 2009, 23:33
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

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.
Reply With Quote
  #9  
Old 27th March 2009, 23:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

Which is the exact error message that you get in the apache error log of the site?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 27th March 2009, 23:40
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

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

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPD can not close uploaded files rdmandel HOWTO-Related Questions 5 4th August 2008 16:04
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
Apache2 server stopped working and fails restart without error chillifire Installation/Configuration 3 13th March 2008 16:26
vsftp - 550 Failed to change directory latcarf Server Operation 8 14th May 2006 02:05


All times are GMT +2. The time now is 12:51.


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