Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

After i tried to rewriting the url from the site config when i acsess the page its doens't showing the page its always download the page this is the config that i tried -

 location /  {
    root   /home/bil/public_html/domain.net/public/;
    index  index.php index.html;
    location /like/ {
       rewrite ^/like/(.*) /check_register.php?key=$1 break;
       return 403;
    }
 }

How can i fix that?

share|improve this question
    
Thanks for posting a question - can you try to explain what you are trying to achieve and what you are getting in a bit more detail? –  Theuni Dec 10 '12 at 14:37
    
We want to generate a unique link for each user , but the link need to be short something like this - domain.net/23423348593854 –  Ido B Dec 10 '12 at 15:56
    
The only problem is the rewrite of the url doesn't work . –  Ido B Dec 10 '12 at 15:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.