| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 37803 | 2003-09-18 09:38:00 | apache error | bliss (4037) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 176240 | 2003-09-18 09:38:00 | I keep getting a error on my mandrake 9.1 box, running apache using web min to configure it. i cannot for the life of me get it to display the default web site page and start using as a testing server. please some one help me. any ideas? i installed apache after the linux install. the error is as follows ...... You don't have permission to access / on this server. Apache-AdvancedExtranetServer/2.0.44 (Mandrake Linux/11mdk) mod_perl/1.99_08 Perl/v5.8.0 auth_external/2.2.1 auth_mysql/1.11 mod_auth_pgsql/2.0.0 auth_radius/1.7PR1 mod_layout/4.0.1a mod_ssl/2.0.44 OpenSSL/0.9.7a DAV/2 PHP/4.3.1 mod_auth_remote/1.0 mod_auth_shadow/2.0 Server at mdk.tux.com Port 443 |
bliss (4037) | ||
| 176241 | 2003-09-19 05:40:00 | How did you install it? I would have thought it would have set the access rights correctly ... but maybe not. A case for reading the manual :D. However, I think the easiest way to read the manual is with the Apache server running. So. As root, access " with your browser. Then check the location it gets (which will be the default page). Then from your terminal session, do "chmod -r 755 /path/to/that/whatever.html"" target="_blank">localhost" with your browser. Then check the location it gets (which will be the default page). Then from your terminal session, do "chmod -r 755 . Then you should be able to access it from your user account. |
Graham L (2) | ||
| 176242 | 2003-09-19 08:45:00 | check the httpd.conf file, there should be a section in there along the lines of <directory /> order allow, deny allow from all </directory> make sure it exists, has allow from all (and no deny directives), and isnt commented out (eg if it is commented out it will have a hash symbol: #<directory /> you can use this directive to apply access rights to a directory, so for example if you only want a folder to be accessible to users on your network you would put in <directory "whatever/folder/it/is"> order deny, allow deny from all allow 192.168.0 </directory> and you can apply a whole bunch of other settings... what <directory />...</directory> is doing is setting the access rights for the document root which you should have already configured during apache setup (or you can configure this as well in httpd.conf) you can learn more here: httpd.apache.org |
whetu (237) | ||
| 1 | |||||