LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Mod-Rewrite

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-20-2004, 10:06 PM
Channel_Cat Channel_Cat is offline
Member
 
Join Date: Sep 2004
Posts: 11
Default Mod-Rewrite

I'm using the latest free litespeed 2, which is working great except for the htaccess

I cannot get the htaccess file working. I've tried everything from checking permissions of .htaccess to adding it to context. I would love to port my site over, but currently i cannot

I would be really great if mod_rewrite was internal, as i hope to use litespeed to keep my server alive when many people use it at once.

Here's a snippet of my .htaccess (I've tried using different combinations of it, none of which worked)


RewriteEngine On

#static redirects
RewriteRule ^logout[/]?$ /index.php?logout=true
RewriteRule ^search[/]?$ /index.php?act=art_search
RewriteRule ^forum[/]?$ /index.php?act=forum_main
RewriteRule ^updates[/]?$ /index.php?act=user_updates
RewriteRule ^inbox[/]?$ /index.php?act=user_inbox
RewriteRule ^outbox[/]?$ /index.php?act=user_outbox
RewriteRule ^inbox/success[/]?$ /index.php?act=user_inbox&action=success
RewriteRule ^inbox/compose[/]?$ /index.php?act=user_inbox&action=compose
RewriteRule ^settings[/]?$ /index.php?act=user_settings
RewriteRule ^gallery[/]?$ /index.php?act=art_gallery
RewriteRule ^online_users[/]?$ /index.php?act=users_online
RewriteRule ^comment[/]?$ /index.php?act=user_comment
RewriteRule ^emoticons[/]?$ /index.php?act=emoticons
RewriteRule ^stats[/]?$ /index.php?act=stats
RewriteRule ^my/journal[/]?$ /index.php?act=journal_edit
RewriteRule ^my/favorites[/]?$ /index.php?act=user_favorites
RewriteRule ^my/watch[/]?$ /index.php?act=user_watch


I've spent hours and hours (even tried getting squid working as an alternative), and I'm about ready to rip my hair out on this one!

Any help is GREATLY appreciated

--Channel Cat

--Edit
I was able to get it working FINALLY after fixing the error it was getting while trying to open the access log file, only to find out rewrites are a little bit different than apache and are EXTREMELY tempermental :-( I do have to change my entire rewrite file, but atleast it works :-/

OKAY LAST EDIT THIS IS IMPORTANT
all of my rewrites past the 47th rewrite do not work
I don't know if this is a bug or a limit. I can be more conservative for now, but i really hope this gets resolved!
Reply With Quote
 

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rewrite Engine does not pick up correct REQUEST_FILENAME when using PATH_INFO dreamscape Bug Reports 3 04-19-2007 05:44 PM
Best way to redirect legacy URLs with Rewrite Map? subBlue Install/Configuration 1 01-18-2007 09:51 AM
Rewrite before reverse proxy? jburks725 Install/Configuration 1 01-18-2006 12:17 PM
Rewrite not doing anything at all? pcguru Install/Configuration 1 12-07-2005 03:04 PM
rewrite content limit Channel_Cat Bug Reports 1 09-21-2004 03:37 PM


All times are GMT -7. The time now is 03:21 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.