Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th July 2008, 19:08
lgj133s lgj133s is offline
Junior Member
 
Join Date: Jul 2008
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default Modify the custom error pages

Need the custom error pages working as SSI or PHP. Whenever I modify the following;

/etc/httpd/conf/vhosts/Vhosts_ispconfig.conf, this segment:

ErrorDocument 400 /error/error_400.shtml
ErrorDocument 401 /error/error_401.shtml
ErrorDocument 403 /error/error_403.shtml
ErrorDocument 404 /error/error_404.shtml
ErrorDocument 405 /error/error_405.shtml
ErrorDocument 500 /error/error_500.shtml
ErrorDocument 503 /error/error_503.shtml

and restart the webserver through ispconfig admin interface, the extensions are rewritten back to .html.

Anyone knows hot to prevent this? (Beside the onbvious "restart httpd through CLI", I don't know under what other circumstances it will get overwritten through other admin interface functions).
Reply With Quote
Sponsored Links
  #2  
Old 8th July 2008, 13:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

You'd have to modify /root/ispconfig/scripts/lib/config.lib.php.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
lgj133s (8th July 2008)
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
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 17:37
Creating Custom Web Directories pcburner HOWTO-Related Questions 1 2nd April 2008 13:22
Custom database names and usernames kcackler Feature Requests 5 18th March 2007 20:59
DNS manager faults when having custom directives martinfst Developers' Forum 2 27th January 2007 14:08


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


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