LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-01-2007, 02:41 PM   #1
rmwebs
LQ Newbie
 
Registered: Sep 2006
Location: North London, England
Distribution: CentOS, Suse, Fedora, Debian
Posts: 23

Rep: Reputation: 15
Unhappy mod_rewrite or php error...some rewrites work, some dont.


Hi,

I use a VPS to host my websites and have recently moved to debian. Some of my sites require mod_rewrite to function, however for some reason only some of the mod_rewrite pages work.

For example, my website, arcadecan.com if you click on a game to play, the address shows where it should go..but it doesnt go to the page, it retains the game listing page. The mod_rewrite file is:

Code:
RewriteEngine On
RewriteRule ^(contact|submit|thegames|toppicks)/?$ $1.php [L,QSA]
RewriteRule ^thegames/([^/]+)/? thegames.php?name=$1 [L]
The php file uses a $_GET variable and it was working fine before. Could this be an issue with mod_rewrite or something else?

Thanks for your time.

Rick
 
Old 01-01-2007, 05:40 PM   #2
rmwebs
LQ Newbie
 
Registered: Sep 2006
Location: North London, England
Distribution: CentOS, Suse, Fedora, Debian
Posts: 23

Original Poster
Rep: Reputation: 15
I can confirm its not an error with the php file, as this works: arcadecan.com/thegames.php?name=wone
 
Old 01-02-2007, 03:04 PM   #3
rmwebs
LQ Newbie
 
Registered: Sep 2006
Location: North London, England
Distribution: CentOS, Suse, Fedora, Debian
Posts: 23

Original Poster
Rep: Reputation: 15
Anyone got any idea what's going wrong here?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
php image functions dont work ihopeto Linux - Server 4 11-14-2006 03:51 AM
erased MEPIS liveCD rewrites itself - ?! joshknape Linux - Newbie 2 01-16-2006 03:56 PM
fstab problem, rewrites at boot renderx Linux - Newbie 2 12-24-2005 03:44 AM
mod_rewrite script doesn't work. Travis86 Linux - Networking 0 04-10-2004 09:45 PM
Things dont work when you dont understand withoutaclue Linux - Newbie 3 03-12-2003 10:51 AM


All times are GMT -5. The time now is 07:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration