ispCP - Board - Support
Apache Directory Indexing - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Apache Directory Indexing (/thread-6692.html)



Apache Directory Indexing - timaaarrreee - 05-10-2009 11:54 AM

Hi all,

How do i set up apache2 so that all websites that if a site doesn't have an index.html file in a folder in /htdocs, it still generates a list of files? I belive this is called mod_index

At the moment all the sites return
"Error 403! / Forbidden!"


Like this:
[Image: 1z64eo0.jpg]

Thanks


RE: Apache Directory Indexing - MasterTH - 05-10-2009 05:05 PM

this line should be found in the apacheconfig of the domain

Code:
Options Indexes FollowSymLinks MultiViews



RE: Apache Directory Indexing - timaaarrreee - 05-10-2009 05:16 PM

where would this file be located and would it work for all the domains not just one.

Edit: I have just found out it is the .htacceess file that has been causing this. But this is just my own site how do i enable it on all the sites i host?


RE: Apache Directory Indexing - Alekska - 05-11-2009 02:15 AM

Hi!

You can change this in the tpl files:
Code:
/etc/ispcp/apache/parts/dmn_php2_entry.tpl
/etc/ispcp/apache/parts/sub_php2_entry.tpl
/etc/ispcp/apache/parts/dmn_entry.tpl
/etc/ispcp/apache/parts/als_entry.tpl
/etc/ispcp/apache/parts/sub_entry.tpl
/etc/ispcp/apache/parts/als_php2_entry.tpl

And then, you need to regenerate the config files:

http://www.isp-control.net/documentation/howto/ispcp/regenerate_config


RE: Apache Directory Indexing - kurgans - 05-11-2009 03:18 AM

Edit file etc/apache2/httpd.conf and add this line (its my line) You configure for your needs

DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml

Restart apache


RE: Apache Directory Indexing - timaaarrreee - 05-11-2009 05:25 AM

(05-11-2009 03:18 AM)kurgans Wrote:  Edit file etc/apache2/httpd.conf and add this line (its my line) You configure for your needs

DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml

Restart apache

I have no added the lines
Code:
Options Indexes FollowSymLinks MultiViews
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml

to both /etc/apache2/httpd.conf (which had no lines in it initally)
and /etc/apache2/apache2.conf

I have also checked in webmin that the apache mod "mod_autoindex" is enabled.


ugg boots outlet - ugg boots - 11-02-2011 02:15 AM

kaq
discount ugg boots
ofz
<a href=http://www.cheapuggshouse.com/>ugg boots</a>
whg
http://www.cheapuggshouse.com/
bbk
cheap uggs
rib
<a href=http://www.cheapuggshouse.com/>ugg boots for cheap</a>
wvo
http://www.cheapuggshouse.com/
ava
uggs cheap
vua
<a href=http://www.cheapuggshouse.com/>ugg boots</a>
cuk
http://www.cheapuggshouse.com/
mpz
uggs cheap
jkh
<a href=http://www.cheapuggshouse.com/>ugg boots outlet</a>
pij
http://www.cheapuggshouse.com/
lin
ugg boots for cheap
twh
<a href=http://www.cheapuggshouse.com/>cheap ugg boots</a>
jok
http://www.cheapuggshouse.com/
ltb
cheap ugg boots
ykm
<a href=http://www.cheapuggshouse.com/>buy ugg boots</a>
rcy
http://www.cheapuggshouse.com/
enw
ugg boots
iup
<a href=http://www.cheapuggshouse.com/>discount ugg boots</a>
vag
http://www.cheapuggshouse.com/
fuv
discount ugg boots
pme
<a href=http://www.cheapuggshouse.com/>ugg boots outlet</a>
gvo
http://www.cheapuggshouse.com/
jkl
cheap ugg boots
yqc
<a href=http://www.cheapuggshouse.com/>ugg boots

online</a>
fsb
http://www.cheapuggshouse.com/
nwf
ugg boots

online

yjt
<a href=http://www.cheapuggshouse.com/>discount ugg boots</a>
vuu
http://www.cheapuggshouse.com/
cyz
buy ugg boots
eyi
<a href=http://www.cheapuggshouse.com/>ugg boots</a>
cmb
http://www.cheapuggshouse.com/