Jump to content


Photo

how to enable mod_rewrite through .htaccess


  • Please log in to reply
6 replies to this topic

#1 mojito

mojito
  • Members
  • PipPipPip
  • Advanced Member
  • 74 posts

Posted 18 July 2006 - 02:15 PM

I need to enable mod_rewrite through .htaccess. Is this possible. I got this back from myhost godaddy

Thank you for contacting customer support. You may enable the mod_rewirte through a .htaccess file. As we do not provide scripting, coding or third party application support through this forum, we need to forward this issue to our Advanced Support department. By doing so, there may be fees incurred if the issue is NOT found to exist within our systems. If you choose to have us forward this incident, a member of the Advanced Support department will contact you. Please respond with as much information as possible about this issue and a copy of the script you are using attached to your response and we will forward this issue to Advanced Support.



thanks for any help, and does anybody know if they do support this, they say they do by default phpinfo(); shows that it isnt enabled, but I would have thought it would need to be in apache config???

thanks for any clarity..

#2 willfitch

willfitch
  • Members
  • PipPipPip
  • Advanced Member
  • 109 posts
  • LocationNew Hope, PA

Posted 20 July 2006 - 02:20 PM

Then create a .htaccess file in your directory and place this in it:

RewriteEngine On

After that line, place any rewrite conditions you want in it.  If this doesn't work, tell your hosting company to set "AllowOveride All" in your virtual host to get it going.
Zend Certified Engineer (ZEND001989)
www.willfitch.com

#3 kabanossen

kabanossen
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 10 August 2006 - 09:25 AM

Hi Mojito. I have the same problem as you, have you found a solution? At Godaddy there's a piece in the Help Center about upgrading to Hosting Configuration 2.0


http://help.godaddy....id=GoDaddy&isc=


I can't do the upgrade, the Add On Languages icon is missing in my Content panel? Any clues?
Anyone else who has a tip on how to check if mod_rewrite is enabled (besides checking phpinfo that is)?
All and any help appreciated.

Rikard

#4 mojito

mojito
  • Members
  • PipPipPip
  • Advanced Member
  • 74 posts

Posted 10 August 2006 - 03:33 PM

It did start to work after I complained to them funnily enough but the didnt say (admit) they made any changes.
good luck

m

#5 kabanossen

kabanossen
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 10 August 2006 - 09:17 PM

Interesting:-)
Could I copy your .htaccess code and see if it works for me?

Rikard

#6 mojito

mojito
  • Members
  • PipPipPip
  • Advanced Member
  • 74 posts

Posted 10 August 2006 - 09:52 PM

I am using a content management system called joomla. So its a particular code for my mod rewrite, its quite an in depth thing and you would need to check a tutorial on it.

It uses regex to match up the string , do a search through the other posts here, im affraid it would be the blind leading the blind this time other than that
hope that helps


#7 kabanossen

kabanossen
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 11 August 2006 - 12:15 PM

No problem, thanks for your reply. I'll tinker a bit and see if I can get things working.

Rikard




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users