Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I am installing a script (that I bought on cPanel) in the root directory of my web site. When I try to install it, it gives me an error. I found that it starts an infinite URL redirect loop containing the name of my web site.

Something like: install//mywebsite.com/install=mywebsite.com/install=mywebsite.com/install=mywebsite.com etc. until the browser refuses to continue when URL gets too long.

The vendor told me I need to have *mod_rewrite* installed on my cPanel and something about .htaccess.

How do I do fix this?

share|improve this question

migrated from stackoverflow.com Apr 23 '11 at 17:03

This question came from our site for professional and enthusiast programmers.

3  
follow your vendor's advice. ask your hosting provider if you're hosted. post more details about what exactly you can't figure out, as is, your question is not answerable. –  Mat Apr 23 '11 at 10:34
    
I don't know what is mod_rewrite, and how to enable it. –  lital maatuk Apr 23 '11 at 10:38
    
@lital: for that see this: stackoverflow.com/questions/869092/… –  Arihant Nahata Apr 23 '11 at 10:44
    
you will have a file called .htacess in the root of your website. have a look at it, or post it here. files that being with dots are hidden so possibly you will need to alter settings in your FTP client to acces this file. –  ollybee Apr 23 '11 at 22:13
    
@ollybee - (not trying to be jerky here) I've had a few instances where no .htaccess is set up by default in the root... it's easy to create though. If you're comfortable on the command line, you could use VI or whatever editor you like that's installed (assuming *nix here) and create it easily. –  digit1001 Apr 25 '11 at 21:54
show 1 more comment

1 Answer 1

cPanel

By default cPanel should come with mod rewrite as well as support for usr rewrites in home directorys.

.htaccess

Ensure that you have a blank .htaccess file in the root of directory that your installing the script too. Additional since you purchased the script they should have no problems providing support.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.