Neo Anderson
Neo Anderson

Reputation: 648

iis has bug on persian name folders?

I config PHP 7.4.5 in IIS 10.0,
and when I rename a folder to Persian characters like: "تست", and try to access the page with this address :

http://mydomain/تست/

it can not find index.php, and show this error :

No input file specified.

after renaming to the English letter: "test", the url is:

  http://mydomain/test/

everything is ok!

Hint: if the folder name has Persian chars, all good with index.html
Hint: My handler Mapping :
enter image description here

what I try to solve the problem:
I try to change this vars in php.ini but not solve my problem.
cgi.fix_pathinfo=1
cgi.force_redirect = 0

Upvotes: 0

Views: 159

Answers (1)

Jalpa Panchal
Jalpa Panchal

Reputation: 12789

Found the issue is not related to the iis its related to the PHP. below is the test with the HTML site which is working correctly:

enter image description here

Unfortunately, RFC2396 says you're not allowed to use any non-alphanumeric characters. You can however encode them, but that defeats your point of having nicely 'speaking URLs'.

Reference link:

Can we have a language other than english in a URL?

Upvotes: 1

Related Questions