.htaccess
code:
RewriteEngine on
RewriteRule ^/hosted/([^/\.]+)/?$ http://%{HTTP_HOST}/hosting.php?file=$1 [R]
you can see how it works now by going to
http://files.1337z.com/hosted/test.htm
you can see how it is supposed to work by going to
http://files.1337z.com/hosting.php?file=test.htm
can anybody spot a problem?
thanks in advance.