Jump to content
xisto Community
Sign in to follow this  
Arbitrary

Mod_rewrite Subdomain Problem mod_rewrite

Recommended Posts

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

I tried this:

<IfModule mod_rewrite.c>RewriteEngine onRewriteCond ^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. :unsure:

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
Edited by Arbitrary (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.