OZONE Asylum
Forums
Server-Side Scripting - Oh my!
htaccess (again) and sessions
This page's ID:
28206
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi I have two problems. First, my webserver seems to store the htaccess-settings. If I make a change and upload the changes wont take place. Also, if I remove the file from the server, it still redirects! I have mailed the host but they just shrug. Is it possible that the settings are store in a cache? I'm completely dumbfund. :( Secondly, it's the sessions. If a user tries to access the site or it's subdirs for the first time they're redirected to the index page http://www.mysite.com/login They login, and - for instance - click on forum http://www.mysite.com/forum So far so good. However, should the user (for som reason) type in the url without the www: for example: http://mysite.com/forum Then they are directed to the login page, again! And this goes on and on. I use this for the redirecting. Haven't written it myself but found it on the internet. [code]RewriteCond %{HTTP_HOST} !^www\..* [NC] RewriteRule ^(.*) http://www.%{HTTP_HOST}/$1 [R=301][/code] Any help is welcome. /Justin [url=http://www.walemark.se][img]http://www.walemark.se/img/w.gif[/img][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail