You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Istanbul Hosting <em...@ihs.com.tr> on 2006/09/22 11:26:07 UTC

[users@httpd] International File Names

Hello,

How can apache support international characters in the URI part of the URL?

i.e greek ; http://somegreek.com/somegreekcharacters.html

i couldnt manage this work

system encoding is UTF

thanks

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


Re: [users@httpd] International File Names

Posted by Istanbul Hosting <em...@ihs.com.tr>.
apache encodes the URL already

it converts the url into

http://www.domain.com/%FEi%F0%FEi%FEi%FEi.html

and returns 404 resp,

The requested URL /þiðþiþiþi.html was not found on this server.

however þiðþiþiþi.html is on the server

thats the problem


Joshua Slive wrote:
> On 9/22/06, Istanbul Hosting <em...@ihs.com.tr> wrote:
>> Then how does IIS encodes this ?
>>
>> i.e IIS can handle
>> http://domain.com/some/german/character/containing/filename.htm
>> or
>> http://domain.com/some/greek/character/containing/filename.htm
>
> I don't know what IIS does, but I do know that non-ASCII characters
> must be encoded according to the HTTP and URI specification. See RFC
> 2396 section 2.
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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


[users@httpd] server error help !

Posted by Chris Ackford <ch...@gmail.com>.
Server error!

The server encountered an internal error and was unable to complete your
request.

Error message:
Bareword found where operator expected at
C:/apache2triad/htdocs/Webmessenger/default.aspx line 2, near "%@ Register"
syntax error at C:/apache2triad/htdocs/Webmessenger/default.aspx line 2,
near "%@ Register TagPrefix" Bareword found where operator expected at
C:/apache2triad/htdocs/Webmessenger/default.aspx line 2, near ""uc1"
TagName" Bareword found where operator expected at
C:/apache2triad/htdocs/Webmessenger/default.aspx line 2, near ""Footer" Src"
String found where operator expected at
C:/apache2triad/htdocs/Webmessenger/default.aspx line 4, near "PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN"" Bareword found where operator
expected at C:/apache2triad/htdocs/Webmessenger/default.aspx line 7, near "


Why would I get this ?


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


Re: [users@httpd] International File Names

Posted by Joshua Slive <jo...@slive.ca>.
On 9/22/06, Istanbul Hosting <em...@ihs.com.tr> wrote:
> Then how does IIS encodes this ?
>
> i.e IIS can handle
> http://domain.com/some/german/character/containing/filename.htm
> or
> http://domain.com/some/greek/character/containing/filename.htm

I don't know what IIS does, but I do know that non-ASCII characters
must be encoded according to the HTTP and URI specification.  See RFC
2396 section 2.

Joshua.

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


Re: [users@httpd] International File Names

Posted by Istanbul Hosting <em...@ihs.com.tr>.
Then how does IIS encodes this ?

i.e IIS can handle 
http://domain.com/some/german/character/containing/filename.htm
or
http://domain.com/some/greek/character/containing/filename.htm


Joshua Slive wrote:
> On 9/22/06, Istanbul Hosting <em...@ihs.com.tr> wrote:
>> Hello,
>>
>> How can apache support international characters in the URI part of 
>> the URL?
>>
>> i.e greek ; http://somegreek.com/somegreekcharacters.html
>>
>> i couldnt manage this work
>>
>> system encoding is UTF
>
> What do you mean by the URI part of the URL?  A URL is a type of URI,
> so that doesn't really make any sense.
>
> In general, non-ascii characters need to be encoded before being used
> in a URL.  Details about this are contained in the HTTP/1.1 spec.
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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


Re: [users@httpd] International File Names

Posted by Joshua Slive <jo...@slive.ca>.
On 9/22/06, Istanbul Hosting <em...@ihs.com.tr> wrote:
> Hello,
>
> How can apache support international characters in the URI part of the URL?
>
> i.e greek ; http://somegreek.com/somegreekcharacters.html
>
> i couldnt manage this work
>
> system encoding is UTF

What do you mean by the URI part of the URL?  A URL is a type of URI,
so that doesn't really make any sense.

In general, non-ascii characters need to be encoded before being used
in a URL.  Details about this are contained in the HTTP/1.1 spec.

Joshua.

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