Jump to content

apache - Mandrake 10.1 specific questions


Scott Thornley
 Share

Recommended Posts

Ok - a search of the web only left me with questions, and no answers that really helped me out.

 

1) Reality check - it is /etc/httpd/conf/httpd2.conf that is used by apache on 10.1. I can ignore /etc/httpd/2.0/conf/httpd2.conf. Assumption is correct or incorrect ?

 

2) I want to enable directory listing. An index.html file is viewable by browser when placed in a directory, but when removed, I get a 403 error, rather than a directory listing. There is no .htaccess file in this directory, nor its parents, all the way up to document root. I've seen information that mentions modifying the virtual hosts Vhosts.conf file, but the ones I've looked at on my system are all commented out. I can download files in the directory if I point my browser directly at them. Webmin is not being obviously helpful. Any help here?

 

Regards

Scott

Edited by Scott Thornley
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...
Ok - a search of the web only left me with questions, and no answers that really helped me out.

 

1) Reality check - it is /etc/httpd/conf/httpd2.conf that is used by apache on 10.1. I can ignore /etc/httpd/2.0/conf/httpd2.conf. Assumption is correct or incorrect ?

 

 

/etc/httpd/conf/httpd2.conf is indeed the file in use by apache2. When in doubt put something that will for sure cause an error such as loading the same module 2 times.

(I always put some garbage on first line such as "QWERTY"

 

restart apache vi service httpd restart or your fav method and if you get an error or warning referencing your horrid error in the config file. If you dont get any type of error your probably in the wrong file.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...