httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Skrol29" <skro...@freesurf.fr>
Subject [users@httpd] problem about directory with accents since Apache 2.2.3
Date Sun, 26 Nov 2006 17:47:46 GMT
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@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