This is a discussion on Apache within the Linux Web Servers forums, part of the Web Server and Related Forums category; I just compiled and installed apache 2.0.54 and ran it. when I go to the site all I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Nat wrote: > > I just compiled and installed apache 2.0.54 and ran it. when I go to > the site all I get is a 403 permission denied error and I have no idea > what permissions to change or where to put files that I want on the web > site. > Nat Hi, Your webpages/docs should go in the <APACHE_ROOT>/htdocs directory, where <APACHE_ROOT> is wherever you told the compilation/installation to put Apache (e.g., if /usr/local/apache2/, then /usr/local/apache2/htdocs). As to the 403 error, look in the logs/error_log or logs/error.log file, or possibly in the logs/access_log or logs/access.log file, and see if there is anything helpful there. I don't have a *nix Apache installation, but I seem to recall (it's been awhile) that I had to change the "User" directive in httpd.conf from something like "User nobody" to "User -1" or something along those lines. Sorry if this might not much help :(... Jim |
|
|||
|
Nat wrote:
> I just compiled and installed apache 2.0.54 and ran it. when I go to > the site all I get is a 403 permission denied error and I have no idea > what permissions to change or where to put files that I want on the web > site. > Nat > You did not say what your OS was, but on my MDK10 Apache config file are default at /etc/httpd/conf. To find your server's DocumentRoot search the httpd2.conf grep -e "DocumentRoot" /etc/httpd/conf/httpd2.conf mine reveals a default '/var/www/html' I know that this directory must be 0755 or you will get such an error. Checking the log may be more informative. Default location for mine is: '/var/log/httpd/error_log' -- Take care, Jonathan ------------------- LITTLE WORKS STUDIO http://www.LittleWorksStudio.com |