Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th April 2006, 16:30
hastlaug hastlaug is offline
Member
 
Join Date: Apr 2006
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default Problem with Individual Error Pages

I've had a look into my Vhosts_ispconfig.conf - and saw that the individual error pages were activated, although I didn't enable it in ISPConfig. Playing with the option didn't change anything (but, yes, the file was rewritten). Installed release is 2.2.0.

Code:
Alias /error/ "/var/www/web1/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
Reply With Quote
Sponsored Links
  #2  
Old 15th April 2006, 11:33
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,438
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
Default

I think this is the standard error page configuration in ISPConfig. The files you listed in your post are the default error pages, not the individual ones.

If you enter individual error pages, the default files where replaced by your custom files, this changes nothing in Vhosts_ispconfig.conf.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 15th April 2006, 20:51
hastlaug hastlaug is offline
Member
 
Join Date: Apr 2006
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default

I thought the setting "Individual Error Pages" allows the customer to use his own error pages - but if the setting in the vhosts is always the same (and the error pages are obviously in the customer's web path) then the customer is always able to use his own error pages... Where is the difference when I enable/disable the setting?

Quote:
If you enter individual error pages, the default files where replaced by your custom files
Replaced by which pages? Server global "custom" error pages? This would mean that there are exactly 2 kinds of different error pages - where is the use of that? What happens if I check/uncheck this option on a running site? Will the error pages be replaced?

I expected that, when enabling this option, the customer has the possibility to define his individual error pages - and when it's disabled, he just hasn't. But, obviously, he currently always has
At least me doesn't want every customer to have his own error pages.
As far as I remember this is also the interpratation of "individual error pages" used in most server configuration software suites.

I'd suggest sth. like the following:

Individual Error Pages on:
Code:
Alias /error/ "/var/www/web1/web/error/"
Individual Error Pages off:
Code:
Alias /error/ "/home/admispconfig/error/"
This way you could achieve this behaviour pretty easy. What do you think about that?
Reply With Quote
  #4  
Old 16th April 2006, 15:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

If you use individual error pages, then the files error/error_400.html, error/error_401.html etc. will be created with your custom error pages, otherwise the standard error pages error/fileNotFound.html, etc. will be used.
__________________
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
  #5  
Old 16th April 2006, 15:30
hastlaug hastlaug is offline
Member
 
Join Date: Apr 2006
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default

But a customer can replace these files in both cases with his own ones... am I right?
Reply With Quote
  #6  
Old 17th April 2006, 18:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Yes, in the rare case you find a customer who knows what he's doing...
__________________
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
  #7  
Old 18th April 2006, 22:39
hastlaug hastlaug is offline
Member
 
Join Date: Apr 2006
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hm, but don't you think it would make sense to simply link the default error pages outside the user's web path? This way you can prohibit users changing the pages and for the rest you should have the same behaviour as before. And I think it's not a big deal to change this.
Reply With Quote
  #8  
Old 18th April 2006, 22:43
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,438
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
Default

Quote:
Originally Posted by hastlaug
And I think it's not a big deal to change this.
Sure, if you think its an issue that must be fixed, we can add it to the bugtracker
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 7th May 2006, 16:40
hairydog2 hairydog2 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by hastlaug
Hm, but don't you think it would make sense to simply link the default error pages outside the user's web path? This way you can prohibit users changing the pages and for the rest you should have the same behaviour as before. And I think it's not a big deal to change this.
I don't know why it isn't done this way, and maybe there is a good reason, but I would have thought it would be a good idea to have a standard set of error pages for everyone in a special directory, and a symlink pointing at it: that way you can update them all at the seame time if necessary.

The same is true for the default cgi scripts - I'd rather have a link to the standard ones than a copy of the standard ones.

Maybe there is a reason why symlinks won't do.
Reply With Quote
  #10  
Old 22nd September 2007, 18:34
lodac lodac is offline
Junior Member
 
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till
Sure, if you think its an issue that must be fixed, we can add it to the bugtracker

sounds like a great idea.
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
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56
Problem with UebiMiau sodapop General 4 25th November 2005 09:51
ISPConfig pop3 problem mphayesuk General 21 31st October 2005 10:53
Installation problem: PHP problem? hgoor Installation/Configuration 7 21st August 2005 22:15


All times are GMT +2. The time now is 14:24.


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