Jump to content

Recommended Posts

Hello friend,

 

i've index.php which has a link to index2.php

 

i create an .htaccess and added

 

Options +FollowSymLinks
RewriteEngine on RewriteRule ^example\.html$  index2.php 

 

it works fine, when i cann /example.html it gives index2.php

 

 

Now for unicode lang such as arabic , russian , hebraw if we want index2.php be as  مثال  ( an arabic word ) then we write

 

 

Options +FollowSymLinks
RewriteEngine on RewriteRule ^مثال\.html$  index2.php 

 

- it gives ( ANSI ) "Internal Server Error"

 

if i saved .htaccess as UTF, it gives also "Internal Server Error"

 

if i saved .htaccess as unicode, gives also "Internal Server Error"

 

if i saved .htaccess as UTF Without DOM it gives index.php and when i click on the links it gives can't find the page

 

 

so how it can be done ?

Link to comment
https://forums.phpfreaks.com/topic/176185-why-getting-internal-server-error/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.