Re: [users@httpd] You don't have permission to access /index.html on this server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, the alias simply means that typing /rt in a URL bar will take you to /opt/rt3/share/html on your server. This should not be this complicated. Does the system user running the apache daemon have access to these folders?

-Jonathan

zhou jian wrote:

Actually I am using /rt instead of /rt3 as an alias.
Does the alias mean that i can try that out with
typing long directory?

--- "Jonathan S. Abrams"
<j.abrams@xxxxxxxxxxxxxxxxxxx> wrote:

You should be able to get to /opt/rt3/share/html
from an /rt3 alias, but if the path of the alias is not relative, shouldn't your alias be /opt/rt3? I not /opt/rt3, then try adding the 3 to
rt3...is that a typo?

-Jonathan

zhou jian wrote:

Thanks for the response. I did use
http://128.255.163.105/rt
to get to that location.

I used /opt/rt3/share/html as the document root.
What
does your last sentence mean? Does that mean I
can't
alias /opt/rt3/share/html with /rt because that I
have
to use that as document root?


--- "Jonathan S. Abrams"
<j.abrams@xxxxxxxxxxxxxxxxxxx> wrote:



With your alias being /rt, you would have to type http://128.255.163.105/rt to get to that location. Based on the error message, you might get around this if you alias /opt/rt3/share/html as the document root.

-Jonathan

zhou jian wrote:

Not at all. I checked the log file. I am running
RT
in
this httpd. And the RT was installed under
/opt/rt3. I
added the configuration below to the httpd.conf.
From
the error message in the log file, I found that
"client denied by server configuration:
/opt/rt3/share/html/index.html"

And http://128.255.163.105/index.html was
directed
to
the virtual host install of
/usr/local/htdocs/index.html where I installed my
httpd server.

I think this is the problem. But how can I
correct
this one?

<VirtualHost 128.255.163.105>
Alias /rt "/opt/rt3/share/html"
#Alias /rt "/usr/local/rt"




ServerName 128.255.163.105
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl




<Location /opt/rt3/share/html>
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>

//log file of httpd server
[Fri Feb 24 14:51:20 2006] [error] [client
128.255.163.105] client denied by server
configuration: /opt/rt3/share/html/index.html
[Fri Feb 24 14:51:20 2006] [error] [client
128.255.163.105] client denied by server
configuration: /opt/rt3/share/html/index.html
[Fri Feb 24 14:51:20 2006] [error] [client
128.255.163.105] client denied by server
configuration: /opt/rt3/share/html/index.html
[Fri Feb 24 14:51:45 2006] [error] [client
128.255.163.105] client denied by server
configuration: /opt/rt3/share/html/index.html
[Fri Feb 24 14:53:54 2006] [error] [client
128.255.163.105] client denied by server
configuration: /opt/rt3/share/html/index.html
[Fri Feb 24 15:00:25 2006] [error] [client
128.255.163.105] client denied by server
configuration: /opt/rt3/share/html/index.html


--- "Jonathan S. Abrams"
<j.abrams@xxxxxxxxxxxxxxxxxxx> wrote:



Is your firewall blocking port 80?

-Jonathan

zhou jian wrote:

The strange thing is that I can access with
http://127.0.0.1/index.html. Does this one


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux