Mod Rewrite Problem

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
maddenuk
Forum Commoner
Posts: 27
Joined: Fri May 18, 2007 3:07 am

Mod Rewrite Problem

Post by maddenuk »

I've got a site at http://www.creativebubbles.co.uk/news/ which uses Mod Rewrite for the news articles.

I've transfered over the same site to another server under the domain http://www.waphoo.net

On the new server it doesn't work and i have the same files but im unsure why it wont work?

For example visit the Waphoo site and click on a new article it just says
No input file specified

Anybody help?
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

Line 24 on your .htaccess you have an error.
maddenuk
Forum Commoner
Posts: 27
Joined: Fri May 18, 2007 3:07 am

Post by maddenuk »

Thanks for the reply. I'm unsure how you found about that error and i've looked into the .htaccess file and this is what is in it and only goes down to line 14?

Code: Select all

SetEnv DEFAULT_PHP_VERSION 5

RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1

php_flag magic_quotes_gpc off
php_flag register_globals off
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

That was the whole point of my post, all you successfully did in your first post was tell us your problem. You failed to give us any information what so ever to help you solve your problem.

Have you looked at your servers error logs, and raw access logs?

Have you succeeded in getting any rewrites working on the server?

It might have to do with how you are telling it to rewrite, it most likely is thinking index.php should be a folder not a file.
Post Reply