Jump to content
php.lv forumi

htaccess uz hosta


ezis

Recommended Posts

hey!

 

Lieta tada, ka uz localhost viss strada, bet kad uzliek uz bezmaksas hosta, tad sakas problemas o0

 

RewriteRule:

^(.*)\.png$ ./img.php?id=$1 [L]

 

pieprasot atteelu: localhost/ezis.png viss notiek, bet kad prasa hostam hosts/ezis.png, tad vins redirekte uz erroru lapu, kur nekas nav pateikts o0

 

maz ko saprotu no RewriteRule`m, tapec domaju, ka problema ir tur?

Edited by ezis
Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...