RE: VirtualHost rewrite and mod_negotiation

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

 



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@xxxxxxxxx] 
Sent: Tuesday, April 28, 2009 2:51 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  VirtualHost rewrite and mod_negotiation

2009/4/28 Hracek, Petr <petr.hracek@xxxxxxxxxxxxxxxxxxxxxx>:
> 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@xxxxxxxxx

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


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