Hi Everyone.
1)I have configured the apache sereve. But when I access the site. It gives me an error 403/.Forbidden. Where can I set the permission. Note all the dirroot and the related folders have nobody as user and group. Rights 711. what should i do to set it right.
2)Can I access html files without using apache. means from any other ports.
priyadarshi
_____________________________________________________________ Tired of limited space on Yahoo and Hotmail? Free 100 Meg email account available at http://www.dacafe.com
There is a Directive in apache "DirectoryIndex" the default value for this is index.html , it specifies which file is to served if a request comes for "/" .
apache did not find index.html(please cross check in your httpd.conf if this value is index.html" and returnd 403 status.
You can now do the following.
0) check If your directory is in apache's document base. 1) Create index.html 2) Change the value of DirectoryIndex to the file u want apache to serve. 3) Remove Option Indexes from <Directory "YouDocumentRoot">, this will enable Directory listing and you can choose from the list of files which apache serves.
-----Original Message----- From: linuxers-admin@mm.ilug-bom.org.in [mailto:linuxers-admin@mm.ilug-bom.org.in]On Behalf Of acharya@dacafe.com Sent: Thursday, August 23, 2001 3:08 PM To: linuxers@mm.ilug-bom.org.in Subject: [ILUG-BOM] Apache server.
Hi Everyone.
1)I have configured the apache sereve. But when I access the site. It gives me an error 403/.Forbidden. Where can I set the permission. Note all the dirroot and the related folders have nobody as user and group. Rights 711. what should i do to set it right.
2)Can I access html files without using apache. means from any other ports.
priyadarshi
_____________________________________________________________ Tired of limited space on Yahoo and Hotmail? Free 100 Meg email account available at http://www.dacafe.com
_______________________________________________ Next Online LUG Meet on 31st Aug @ 4:30pm Linuxers mailing list
Linuxers@mm.ilug-bom.org.in
Sometime Today, acharya@dacafe.com assembled some asciibets to say:
1)I have configured the apache sereve. But when I access the site. It gives me an error 403/.Forbidden. Where can I set the permission. Note all the dirroot and the related folders have nobody as user and group. Rights 711. what should i do to set it right.
change the permission to 755. make sure that you have Indexes on for the <Directory> that you are trying to look at. Make sure permissions on any index.html/whatever else your directory index is set to is 644. There may be more you have to look at, but I can't think of it right now.
2)Can I access html files without using apache. means from any other ports.
Remotely, try telnet, ssh, rlogin/rsh, ftp. If you can log in to the machine, chances are you have permissions to read public_html files.
if you're local, then use lynx, netscape, mozilla, opera, w3m, links, emacs, vi, cat, ed, etc. Netscape may require a file:/// before the path to the file.
Philip