Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 08-18-2004, 09:52 AM mod_rewrite problem
Python's Avatar
Ultra Talker

Latest Blog Post:
A new site is launched
Posts: 374
Trades: 0
I am trying to make my forum more SE friendly by using mod_rewrite to rewrite the urls into something a little easier for the SE's to spider...

But...


Im having some problems with it.

I followed a tutorial at: http://www.phpbbhacks.com/forums/viewtopic.php?t=15996

Ive done exactly what it said (im only at the start when errors start happenning).

I inserted the following into a .htaccess file
Code:
RewriteEngine on 
RewriteBase    / 
RewriteRule    viewpost/([1-9]+?[0-9]*)\.html$     viewtopic.php?p=$1#$1 [NE,L] 
RewriteRule    viewtopic/([1-9]+?[0-9]*)\.html$    viewtopic.php?t=$1    [L] 
RewriteRule    viewforum/([1-9]+?[0-9]*)\.html$    viewforum.php?f=$1    [L]
all it came up with was server error 500.

I have got mod_rewrite enabled on the server, ive alreday asked my host about it.

Any ideas?
__________________

Please login or register to view this content. Registration is FREE

- Affordable web site design solutions
Python is offline
Reply With Quote
View Public Profile Visit Python's homepage!
 
 
Register now for full access!
Old 08-18-2004, 01:32 PM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Trades: 0
Have a look in your error log. Usually they have more details about what caused the problem.
__________________

Please login or register to view this content. Registration is FREE
- Everything a webmaster needs - for free

Please login or register to view this content. Registration is FREE
- Free web hosts reviewed and rated

Please login or register to view this content. Registration is FREE
- Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile
 
Old 08-20-2004, 06:24 PM
Python's Avatar
Ultra Talker

Latest Blog Post:
A new site is launched
Posts: 374
Trades: 0
ive been told its something to do with a regex error...any ideas?
__________________

Please login or register to view this content. Registration is FREE

- Affordable web site design solutions
Python is offline
Reply With Quote
View Public Profile Visit Python's homepage!
 
Old 08-20-2004, 07:42 PM
tntcheats's Avatar
Extreme Talker

Posts: 203
Location: BC, Canada
Trades: 0
I'd say you should just move to Invision Power Board; I don't think that it uses Session IDs and therefore can be properly indexed by Google and other search engines which usually will more or less ignore pages with sids.

Not to mention phpBB is 3 times the size of IPB, and takes up lots more bandwidth (from what I've heard).
__________________
James Henderson

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
tntcheats is offline
Reply With Quote
View Public Profile Visit tntcheats's homepage!
 
Reply     « Reply to mod_rewrite problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.85124 seconds with 12 queries