Configuration leads to error

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

 



Hello. Beside other configurations I got this VirtualHost:

    <VirtualHost *:200>
        DocumentRoot "D:/develop"

        <Directory "D:/develop">
            Options Indexes FollowSymLinks Includes ExecCGI
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>

        Alias /foo G:/Documents/web/foo
    </VirtualHost>

    <Directory "G:/Documents/web/foo">
        Options -Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

And in "G:/Documents/web/foo/trunk" this .htacces lines when i call
http://127.0.0.1:200/foo/trunk :

    RewriteRule ^[.]{0}$ _index.php?u= [L,QSA]
    RewriteRule ^([^_]+)$ _index.php?u=$1 [L,QSA]

But Apache can't find the file. It writes this in error.log :
"File does not exist: D:/develop/Documents"

So it seems that Alias doesn't take the drive-letter when rewriting an url.

Whats so confusing about my configutation?
How would it be right? (if I want a VirtualHost and a directory (like an
Alias) that is not in the DocumentRoot)


Greetings,
RMP

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