httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hracek, Petr" <petr.hra...@siemens-enterprise.com>
Subject RE: [users@httpd] VirtualHost rewrite and mod_negotiation
Date Tue, 28 Apr 2009 13:15:23 GMT
In the Apache version 1.3 we used only <Directory />
And now other directives has been specified like
<Directory "/opt/appl/htdocs">

Because of we migrated to Apache 2.2 then now we have a problems with Multilanguage support.

We have a following problem:
In VirtualHost _default:443
We have specified DocumentRoot "/opt/apache/htdocs/ssldocs"
and some of our applications are outside of DocumentRoot like
/opt/appl/htdocs.

Under the DocumentRoot negotiation works correctly but under /opt/appl/htdocs not.
And in the logfile is mention "Client denied by server configuration"
Negotiation: discovered file(s) matching request: /opt/appl/htdocs/index.shtml (None could
be negotiated)

regards / S pozdravem
Petr Hráček

-----Original Message-----
From: Eric Covener [mailto:covener@gmail.com] 
Sent: Tuesday, April 28, 2009 2:51 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] VirtualHost rewrite and mod_negotiation

2009/4/28 Hracek, Petr <petr.hracek@siemens-enterprise.com>:
> You mean directive directory?
> What does it mean stanza?
>
> I have been using /opt/appl/htdocs and with it it works. Is this your answer?

I don't follow what your initial error is and what you've done to
resolve it. Previously, you showed a <Directory /> container and you
reported the error "client denied by server configuration".

To resolve this, you have to allow access to whatever piece of the
filesystem you were trying to access. The normal way to do that is to
adda <Directory> container for your DocumentRoot and any rewrite/alias
that breaks out of your DocumentRoot.

If you've been using something and it works, what configuration and
error are you asking for help with?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message