| | |
.htaccess mod_rewrite problem
Thread Solved
![]() |
What's wrong with the following line in my .htaccess file? All of my other rewrites work, just not this one.
I want
http://www.techtalkforums.com/forums...&view=previous
http://www.techtalkforums.com/forums...t=10&view=next
http://www.techtalkforums.com/forums...10&view=newest
to look like
http://www.techtalkforums.com/forums/t10previous.html
http://www.techtalkforums.com/forums/t10next.html
http://www.techtalkforums.com/forums/t10newest.html
I'm using the following code but it doesn't seem to work? It just goes to topic 10 (for example) while ignoring the view parameter. Any ideas?
I want
http://www.techtalkforums.com/forums...&view=previous
http://www.techtalkforums.com/forums...t=10&view=next
http://www.techtalkforums.com/forums...10&view=newest
to look like
http://www.techtalkforums.com/forums/t10previous.html
http://www.techtalkforums.com/forums/t10next.html
http://www.techtalkforums.com/forums/t10newest.html
I'm using the following code but it doesn't seem to work? It just goes to topic 10 (for example) while ignoring the view parameter. Any ideas?
RewriteRule ^t([0-9]+)(.*).(.*)$ /forums/viewtopic.php?t=$1&view=$2 [L]
Last edited by cscgal; Dec 8th, 2003 at 4:46 pm.
![]() |
Similar Threads
- Mod_Rewrite Problem (Linux Servers and Apache)
- htaccess problem (IT Professionals' Lounge)
- Session problem (PHP)
- .htaccess mod_rewrite to php login (PHP)
- php and mod_rewrite problem (PHP)
- Disable access to .htaccess (Linux Servers and Apache)
- Alternative to using .htaccess for mod_rewrite (Linux Servers and Apache)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: IMAP Server
- Next Thread: sendmail config
| Thread Tools | Search this Thread |
.net apache asus bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora gadgets gentoo gos government gpl hardware hp hyper-v ibm java jobs kindle knoppix kvm laptop laptops lawsuits licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source spice sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen







