View Full Version : standard "show directory" mode and error pages
testset
6th April 2007, 00:10
how can i set up following:
f.e. we have the domain domain.tld with dir /images
when i open domain.tld/images i see only "error 404" (or something).
can i activate the old
"you are in dir /images and we have here the following files...
file1.jpg
file2.jpg
file3.jpg
this server is running apache 2 with php foobar on linux foo
?
I have another problem: i haven't activated "own error pages", but the users can create own and there is an /web/error at every user dir... what to do?
can i change all error pages per webinterface? (the "not own error pages" user have the old pages and not my edited versions)
Thanks! :-)
edge
6th April 2007, 01:01
re: directory browsing
http://www.howtoforge.com/forums/showthread.php?t=10149
Basically, you will need to add the following in the ISPconfig domain(s) Apache Directives (change the "/var/www/web28/images" to your settings)
<Directory "/var/www/web28/web/images">
Options +Indexes
</Directory> You can do this in ISP Management > domain-in-question > Apache Directives box (it's at the bottom)
Make sure that there is NO index.html in the images dir!
till
6th April 2007, 11:35
I have another problem: i haven't activated "own error pages", but the users can create own and there is an /web/error at every user dir... what to do?
can i change all error pages per webinterface? (the "not own error pages" user have the old pages and not my edited versions)
First, it does not harm if users have their own error pages as this affects only their own website or userwebsite. If you want prevent this, chown the error directory to root and give all other users onyl read permissions to the directories.
testset
8th April 2007, 00:03
re: directory browsing
http://www.howtoforge.com/forums/showthread.php?t=10149
Basically, you will need to add the following in the ISPconfig domain(s) Apache Directives (change the "/var/www/web28/images" to your settings)
<Directory "/var/www/web28/web/images">
Options +Indexes
</Directory> You can do this in ISP Management > domain-in-question > Apache Directives box (it's at the bottom)
Make sure that there is NO index.html in the images dir!
my control panel says:
Sie können diesem Web keine Apache-Direktiven zuordnen.
that means something like "you cannot add apache directives to this web".
i have only check ftp access above the directives box - is this the problem?
@till: great idea - i was not shure if i should do it. i will try it in a few days. :-)
till
8th April 2007, 14:12
that means something like "you cannot add apache directives to this web".
i have only check ftp access above the directives box - is this the problem?
The problem is that you did not allow apache directives in the limits of the reseller. Please enable it there and you should be able to add apache directives.
testset
8th April 2007, 14:29
The problem is that you did not allow apache directives in the limits of the reseller. Please enable it there and you should be able to add apache directives.
i tried to add the directives via "admin" and via a reseller - both didn't work. I searched where i can edit the limits of the reseller, but i haven't found the form for edit the limits. when i click on the pencil which is before the resellers name nothing happens. i only see my ISP Server Status.
Is there anything what i could do?
till
8th April 2007, 22:35
I guess you are mixing up the reseller folder which has a pencil with the reseller itself. Or dont you created a reseller?
testset
9th April 2007, 01:53
hm... i thought that i have created one... but what have i done when this is no reseller?
i've created a reseller now - hope that it will work. :)
Edit: Oh, now i know what i have done. i moved my reseller in dir /admin/Anbieter (= ger. reseller). now i can correct my settings - thanks a lot!
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.