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.
Thread Tools Display Modes
Old 7th July 2008, 20: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
Old 8th July 2008, 14:38
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

You'd have to modify /root/ispconfig/scripts/lib/config.lib.php.
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)


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 17:54
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 18:37
Creating Custom Web Directories pcburner HOWTO-Related Questions 1 2nd April 2008 14:22
Custom database names and usernames kcackler Feature Requests 5 18th March 2007 21:59
DNS manager faults when having custom directives martinfst Developers' Forum 2 27th January 2007 15:08

All times are GMT +2. The time now is 03:44.

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