I was messing with mod_rewrites this morning and I couldn't manage to perform a mod_rewrite on my subdomain.

I tried this:

CODE

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond ^feitan/info/$ feitan/info.php
</IfModule>


in my .htaccess file, but that was in my index directory, so I don't know if that works. Do I have to create a separate .htaccess file in my subdomain? Also, would you refer to the subdomain feitan.arbitrary.astahost.com as public_html/feitan/info or just feitan/info? Should I type out the entire url or should it just be subfolders?

Thanks for any help on this matter. smile.gif

EDIT: Never mind, I solved the problem. Just add the .htaccess file in the subdomain. Which I apparently tried earlier, but the file was somehow corrupted, so it didn't work. xD

Comment/Reply (w/o sign-up)