4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu
Please consider registering: registration is fast, easy and free! Benefits of registration:
  • Free advertising for your website: Every post in our forums goes towards a "credit" of ads, which are displayed on most pages of our forums. Each post gives you 400 ad impressions. To submit your ad, edit your profile.
  • Discount at TemplateMonster: All our members enjoy a 10% discount at TemplateMonster.com!
  • Private Messages: Exchange private messages with other members of the forums.
  • Message Tracking/Subscription: phpBB enables you to subscribe to threads which interest you, and will then email you when a reply is posted. phpBB also remembers which posts registered users have read during a session, which means you can keep track of which posts you have already looked at.

 RewriteRule ^testing$ /testing.php - but ends in /testing/
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
BenPollinger
Junior WebHelper
Junior WebHelper


Joined: 11 Aug 2006
Posts: 5
Location: Leeds

PostPosted: Fri Aug 11, 2006 3:54 pm (7 years, 11 months ago) Reply with QuoteBack to Top

Hello all,

I moved my site to register1 recently and some of my .htaccess rules don't quite work:
Code:
Options +MultiViews
RewriteEngine on
RewriteRule ^/forum$ /forum.php


On my old host (34sp.com) this rewrote requests to /forum to /forum.php as it should. But on my new host it goes to /forum/ which is a folder holding a phpBB installation.

Rewrites like this work OK when the forum dir is renamed but I'd like to keep things as they were on my old host.

Any thoughts?

thanks,
Ben

________________________________
www.pollinger.org.uk
www.psyclick.org.uk
OfflineView User's ProfileFind all posts by BenPollingerSend Personal MessageVisit Poster's Website
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Fri Aug 11, 2006 4:55 pm (7 years, 11 months ago) Reply with QuoteBack to Top

If your new host is using Apache 2, you can use the DirectorySlash directive. Otherwise, your best bet would be to rename the forum directory and add an additional RewriteRule to make it work like it did before.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
BenPollinger
Junior WebHelper
Junior WebHelper


Joined: 11 Aug 2006
Posts: 5
Location: Leeds

PostPosted: Sat Aug 12, 2006 1:42 pm (7 years, 11 months ago) Reply with QuoteBack to Top

Thanks for the quick reply Adam - easiest to do some renaming in this case.

34SP use Apache 1.3.33 but Register1 use v2 - this seems to be part of the reason for change

cheers,
Ben

________________________________
www.pollinger.org.uk
www.psyclick.org.uk
OfflineView User's ProfileFind all posts by BenPollingerSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.

PoignantEase
Web design, coding, script installation, phpBB customisation - From a 4WebHelp team member



Page generation time: 0.106331 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme