Dylan
02-14-2001, 04:13 PM
Does Plesk support error documents on a vhost side or is it only a server wide thingy?
![]() | View Full Version : Plesk ErDoc? Ye?Ne? Dylan 02-14-2001, 04:13 PM Does Plesk support error documents on a vhost side or is it only a server wide thingy? Mirco 02-18-2001, 06:36 AM vhost side thingy :) Dylan 02-18-2001, 02:07 PM Er... sorry, I did figure it out eventually a couple of days ago... forgot all about this post... heehee... Changing that one line has opened up alot, and I mean alot, of additional features for my clients... I recommend everybody does the same thing... your clients will love you for it... [Edited by Dylan on 02-18-2001 at 01:13 PM] Ricky_1 02-19-2001, 05:03 PM Which line? How can I set error documents for vhosts? Dylan 02-19-2001, 05:33 PM cd /usr/local/plesk/apache/conf pico httpsd.conf.def On line 162 there is a section that looks like this: <Directory "/usr/local/plesk/apache/vhosts"> Options Indexes FollowSymLinks AllowOverride AuthConfig Limit Indexes Options Order allow,deny Allow from all </Directory> Change line 164 to: AllowOverride All So it should look like this: <Directory "/usr/local/plesk/apache/vhosts"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> While you at it, so that cgi can work from anywhere, not just the cgi-bin directory, change line 291: #AddHandler cgi-script .cgi to AddHandler cgi-script .cgi Then save and run, /usr/local/plesk/admin/utils/my_apci_rst Your client can do so much once you've made these changes they'll praise you for it, ie. custom MIME types (MP3s, movies), CGI scripting in almost any language (the user just needs to install the correct interpreter), more flexible password protection, they can install fly (if you don't want it public on your server)... the list goes on, and on and on ... everything configurable by the user. |