problem about directory with accents since Apache 2.2.3

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

 



I have Apache 2.2.3 on Windows XP sp2.

With Apache 1.3.33 there was no problem to define in "httpd.conf" an alias for a directory that have accents in his name.

The following entries was valid:
*****************
Alias /dev "E:/dév/"
<Directory "E:/dév">
Options Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
*****************

Now with Apache 2.2.3, the same enties make the Apache server to not start.
You have to code it in UTF-8 instead :
*****************
Alias /dev "E:/dév/"
<Directory "E:/dév">
Options Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
*****************

This way the alias is correct and HTML files can be normally accessed with the URL
 http://localhost/dev/hello.html
But it doesn't work with PHP script because "E:/dév/" is not a correct path for PHP.
When you try to call any script in the aliased directory
 http://localhost/dev/myscript.php
you have an error:
*****************
Warning (E:/Dév/myscript.php) failed to open stream: No such file or directory in Unknown on line 0
*****************

Do you know if there is a way to make Apache or the Alias module to deals with accents the same way it used to with Apache 1.3.x ?
Is this can be considered as a bug ?

-------------------
Skrol29
www.tinybutstrong.com
www.skrol29.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@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