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"
<[EMAIL PROTECTED]> 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"
<[EMAIL PROTECTED]> 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"
<[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]