![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Web Design Forums and discussions on webdesign |
Web Design | |||||||||
|
|
|
|
| |||||
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Civilians | This code should, supposedly, convert everything that follows after / in the URL as GET data to the script. --------------------------------- Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^(.+)$ /?$1 ---------------------------------- Will it work or is there a better solution/code? -- Allis-in-Wonderland |
|
| | #2 (permalink) |
| Civilians | And lo, Allis didst speak in alt.www.webmaster: > This code should, supposedly, convert everything that follows after / in > the URL as GET data to the script. > > --------------------------------- > Options +FollowSymlinks > RewriteEngine on > > RewriteBase / > > RewriteRule ^(.+)$ /?$1 > ---------------------------------- > > Will it work or is there a better solution/code? You should exclude the condition where the URI is already GET data: RewriteEngine on RewriteBase / RewriteCond %{REQUEST_URI} !^/\?.*$ RewriteRule ^(.+)$ /?$1 Grey -- The technical axiom that nothing is impossible sinisterly implies the pitfall corollory that nothing is ridiculous. - http://www.greywyvern.com - Orca Knowledgebase: Completely CSS styleable Knowledgebase/FAQ system |
|
| | #3 (permalink) |
| Civilians | "GreyWyvern" <spam@greywyvern.com> wrote in message news pslosdicvsl6xfd@news.nas.net...> And lo, Allis didst speak in alt.www.webmaster: > > > This code should, supposedly, convert everything that follows after / in > > the URL as GET data to the script. > > > > --------------------------------- > > Options +FollowSymlinks > > RewriteEngine on > > > > RewriteBase / > > > > RewriteRule ^(.+)$ /?$1 > > ---------------------------------- > > > > Will it work or is there a better solution/code? > > You should exclude the condition where the URI is already GET data: > > RewriteEngine on > > RewriteBase / > > RewriteCond %{REQUEST_URI} !^/\?.*$ > RewriteRule ^(.+)$ /?$1 > > Grey > > -- > The technical axiom that nothing is impossible sinisterly implies the > pitfall corollory that nothing is ridiculous. > - http://www.greywyvern.com - Orca Knowledgebase: Completely CSS styleable > Knowledgebase/FAQ system Mucho Thanko Youo Will give it a shot. |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .htaccess question | Rex Karz | Web Design | 10 | 10-01-2005 18:00 |
| [News Feed] Bush to Sign Rewrite of Bankruptcy Code (AP) | Forum Mouse | News Articles | 0 | 04-20-2005 04:00 |
| .htaccess - How can I pass our search keywords (e.g. from GoogleAds) past .htaccess... into our cookies!? | Shiperton Henethe | Web Design | 1 | 11-24-2004 19:00 |
| Re: (Solution) Using Frontpage with Apache's .htaccess Mod Rewrite prevents FrontPage from being able to Open site... | Robb Topolski | Web Design | 0 | 11-11-2004 22:55 |
| htaccess question | Grytpype-Thynne | Web Design | 5 | 07-30-2004 10:00 |
![]() | ![]() | ![]() |