Current time: 12-27-2024, 12:36 AM Hello There, Guest! (LoginRegister)


Post Reply 
Apache Directory Indexing
Author Message
timaaarrreee Offline
Junior Member
*

Posts: 17
Joined: Aug 2008
Reputation: 0
Post: #1
MyBB Apache Directory Indexing
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
(This post was last modified: 05-11-2009 04:45 PM by timaaarrreee.)
05-10-2009 11:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #2
RE: Apache Directory Indexing
this line should be found in the apacheconfig of the domain

Code:
Options Indexes FollowSymLinks MultiViews
05-10-2009 05:05 PM
Find all posts by this user Quote this message in a reply
timaaarrreee Offline
Junior Member
*

Posts: 17
Joined: Aug 2008
Reputation: 0
Post: #3
RE: Apache Directory Indexing
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?
(This post was last modified: 05-10-2009 05:54 PM by timaaarrreee.)
05-10-2009 05:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Alekska Offline
Newbie
*

Posts: 6
Joined: Apr 2009
Reputation: 0
Post: #4
RE: Apache Directory Indexing
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...ate_config
05-11-2009 02:15 AM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #5
RE: Apache Directory Indexing
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
05-11-2009 03:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
timaaarrreee Offline
Junior Member
*

Posts: 17
Joined: Aug 2008
Reputation: 0
Post: #6
RE: Apache Directory Indexing
(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.
05-11-2009 05:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ugg boots Offline
Banned

Posts: 1
Joined: Nov 2011
Post: #7
ugg boots outlet
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/
(This post was last modified: 11-02-2011 02:21 AM by ugg boots.)
11-02-2011 02:15 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)