Archive for the ‘.htaccess’ Category
Why is my .htaccess not working in VPS?
Monday, January 25, 2010 2:04 2 CommentsIf you have a VPS or Linux server running Apache the good old fashioned way without fancy control panels, you’ll quickly have to learn some Apache tweaks. One of the main issues we commonly run into is a non-working .htaccess file. Apache doesn’t come with .htaccess support automatically turned on. You’ll have to turn it [...]
Redirecting a subdomain to script with .htaccess
Tuesday, July 14, 2009 23:50 1 CommentI recently had to work with .htaccess to redirect user to their homepage based on subdomain. The requirement was simple and is seen here and there and ofcourse everywhere now a days in different social networks. The requirement was redirecting http://username.domain.tld to http://domain.tld/user.php?u=username. This is just an example (Not similar to url I used). So [...]






