Apache

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-17-2005
Nat
 
Posts: n/a
Default Apache

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

  #2 (permalink)  
Old 08-17-2005
ohaya
 
Posts: n/a
Default Re: Apache



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
  #3 (permalink)  
Old 08-17-2005
Jonathan N. Little
 
Posts: n/a
Default Re: Apache

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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:12 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0