PDA

View Full Version : Mod rewrite problem


mortgages12
07-29-2005, 11:09 PM
I have mod rewrite enabled but it isn't working, as you can see here: http://www.b2b-mortgage.com/Software/

It is working for other sites on my server. I'm using it to redirect usmg.net to www.usmg.net

Any suggestions?

David
07-29-2005, 11:11 PM
I see it is working without mod rewrite:
http://www.b2b-mortgage.com/index.php?c=1
Usually it is something like a missing .htaccess file.

mortgages12
07-29-2005, 11:22 PM
Content visible to registered users only.

Thanks, I'm using the .htaccess file that came with the download:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]

Do I need to customize it?

David
07-29-2005, 11:51 PM
Ok, you should get an answer from a more experienced (than me) programmer shortly. I'm not sure what to tell you next, but you might want to search a little in the forums as well.

Ap0s7le
07-30-2005, 05:59 AM
Hello mortgages12, welcome to the forums.

Would it be possible to get access to the server?

I'd like to check out a couple things having to do with your problem.

Thank you for your time and for choosing PHP Link Directory.

-Casey

achafik
07-30-2005, 02:11 PM
Hello, the problem is that the "mod_rewrite" module is not installed. ask your host to install it.

mortgages12
07-30-2005, 06:54 PM
Content visible to registered users only.

mod_rewrite.so is located in /etc/httpd/modules

httpd.conf shows LoadModule rewrite_module modules/mod_rewrite.so

And I believe I'm using it to redirect usmg.net to www.usmg.net

achafik
07-30-2005, 08:31 PM
well under the phpinfo it doesn't show the module loaded, check with your host just in case.

Ap0s7le
07-30-2005, 09:05 PM
The module is loaded, no worries I've handled it.

Thanks

-Casey

BenB
08-03-2005, 04:09 PM
I am using godaddy.com. I asked them to install mod_rewrite. This is how they responded.

Thank you for your email. Our servers do have mod_rewrite, but you are unable to use it on PHP or CGI files wrapped by SBOX. Also, you cannot modify the configuration of PHP on the server using mod_rewrite.

I would like to have my page urls look nice. Can you help me please.

Ben

Ap0s7le
08-03-2005, 05:58 PM
Hello Ben, Welcome to the forums.

I've heard of many issues with mod_rewrite and GoDaddy.
I believe they don't allow it in the way you're wanting it.

I can look into the problem for you, PM me the details to get access to your server and I'll put up a couple test files and then we'll go from there.

Have a great day, I'll be on later today is my Dad's birthday.

Thanks

-Casey