You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jonathan Martineau <Jo...@travail.gouv.qc.ca> on 2003/11/11 23:37:39 UTC

[users@httpd] Rép. : [users@httpd] Hello all , right now im stuck with a strange problem and iwould

Thank a lot Kyle. 

I will check the RFC. I still need to know why TXT file with a e with an acute accent didnt get the hex 0xE9.  Why if the URL is a TXT this work fine.. but this dont work for PDF..

But i still got a problem. These PDF are writen by public user by a documentation software ( it's not me who write them) and i can't restrict these user to use specific character.  So im just doing these test because im sure ( oh god im sure ) they WILL use acent in the future PDF names.

But i found something else. Ive read than a bunch of "hired specialist" make it work with a specific conf file.  So i guess my problem is solvable by server configuration.  When i get the conf file.. and read it.. i just pass out.   They just add all the module to the conf file..  (( wtf.. ))

i will never .. ever configure a server that way..

LoadModule part of Config file whos suppose to work :

LoadModule mime_magic_module modules/ApacheModuleMimeMagic.dll
LoadModule mime_module modules/ApacheModuleMime.dll
LoadModule dbm_auth_module modules/ApacheModuleAuthDBM.dll
LoadModule digest_auth_module modules/ApacheModuleAuthDigest.dll
LoadModule anon_auth_module modules/ApacheModuleAuthAnon.dll
LoadModule cern_meta_module modules/ApacheModuleCERNMeta.dll
LoadModule digest_module modules/ApacheModuleDigest.dll
LoadModule expires_module modules/ApacheModuleExpires.dll
LoadModule headers_module modules/ApacheModuleHeaders.dll
LoadModule proxy_module modules/ApacheModuleProxy.dll
LoadModule rewrite_module modules/ApacheModuleRewrite.dll
LoadModule speling_module modules/ApacheModuleSpeling.dll
LoadModule status_module modules/ApacheModuleStatus.dll
LoadModule info_module modules/ApacheModuleInfo.dll
LoadModule usertrack_module modules/ApacheModuleUserTrack.dll
LoadModule vhost_alias_module modules/ApacheModuleVhostAlias.dll
LoadModule agent_log_module modules/ApacheModuleLogAgent.dll
LoadModule referer_log_module modules/ApacheModuleLogReferer.dll
LoadModule dms_module modules/ApacheModuleDMS.dll
LoadModule perl_module modules/ApacheModulePerl.DLL
LoadModule fastcgi_module modules/ApacheModuleFastCGI.dll
LoadModule ossl_module modules/ApacheModuleOSSL.DLL
ClearModuleList  
AddModule mod_so.c
AddModule mod_mime_magic.c
AddModule mod_mime.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_negotiation.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_setenvif.c
AddModule mod_isapi.c
AddModule mod_vhost_alias.c
AddModule mod_log_referer.c
AddModule mod_log_agent.c
AddModule mod_auth_anon.c
AddModule mod_auth_dbm.c
AddModule mod_auth_digest.c
AddModule mod_cern_meta.c
AddModule mod_digest.c
AddModule mod_expires.c
AddModule mod_headers.c
AddModule mod_proxy.c
AddModule mod_rewrite.c
AddModule mod_speling.c
AddModule mod_info.c
AddModule mod_status.c
AddModule mod_usertrack.c
AddModule mod_dms.c
AddModule mod_perl.c
AddModule mod_fastcgi.c
AddModule mod_ossl.c

as you see these " SPECIALIST " add it all.. and its suppose to work with these setting (( man this hurt.. these man are payed 10x more than me ))

So i need to find witch module (( if its ever linked to a missing module or something )) i need for making my link to work.

If you have any imput of witch one, i would greatly appreciate.

John  --> still drinking coffee


>>> kdent@seaglass.com 11/11/03 16h44 >>>
On Tue, 11 Nov 2003, Jonathan Martineau wrote:

> I just do more test.  I download Mozilla 1.5.0.2003100716 and try it.
>
> When im trying the "PDF test with accent" the browser change the URL for http://127.0.0.1/D%E9cision_07_05_1995.pdf and display the right document but this dont work with IE 6 fully patched sp1 and all whos trying to load http://127.0.0.1/Décision_07_05_1995.pdf ...
>
> Whats going on under the hood?  Still RTFMing

RFC 2396 deals with URL syntax. Essentially all characters in the
URL should be represented as US-ASCII characters. Certain
reserved ASCII characters and characters not representable in
US-ASCII are supposed to be escaped. Escaping is normally done by
replacing the character by a percent sign followed by its
hexadecimal value.

In your case e with an acute accent is hex 0xE9. Browsers are not
required to support non-escaped URLs that contain disallowed
characters. The fact that Mozilla does the escaping for your is
just a nice touch. You should escape the URL in your HTML file,
which means that you should type it as

  <a href="http://127.0.0.1/D%E9cision_07_05_1995.pdf">

That should work with any standards-compliant browser.

Kyle


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