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.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
'There's an error in your .htacess file...
Old 07-28-2010, 03:18 PM 'There's an error in your .htacess file...
Physicsguy's Avatar
404 - Title not found

Posts: 920
Name: Scott Kaye
Location: Ontario
Trades: 0
Well I was talking with Customer support, and they said I have an error in my code, but 'they can't tel me because it's third party'. BS. Whatever.

Anyways I hope you guys can help me. I don't care if you steal my code.

Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule thread-thread-(.*)\.htm$ thread.php?threadID=$1
That's my .htaccess. It's supposed to turn something like thread.php?threadID=5 into thread-thread-5. But it doesn't. What's the problem?

My customer service guy also said that FollowSymLinks isn't allowed on my hosting account... Is that mandatory for it to work with mod_rewrite? mod_rewrite is supported.

Thanks,

-PG
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-28-2010, 04:34 PM Re: 'There's an error in your .htacess file...
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,390
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Is that mandatory for it to work with mod_rewrite?
Yep.


Quote:
Note: Enabling rewrites in per-directory context
To enable the rewriting engine for per-directory configuration files, you need to set ``RewriteEngine On'' in these files and ``Options FollowSymLinks'' must be enabled. If your administrator has disabled override of FollowSymLinks for a user's directory, then you cannot use the rewriting engine. This restriction is needed for security reasons.
from http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-28-2010, 04:36 PM Re: 'There's an error in your .htacess file...
Physicsguy's Avatar
404 - Title not found

Posts: 920
Name: Scott Kaye
Location: Ontario
Trades: 0
Well, that sucks.

They give you examples on how to use it (mod_rewrite), but they shove poop in your face by disabling the mandatory stuff...

__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
Old 07-29-2010, 04:58 AM Re: 'There's an error in your .htacess file...
Average Talker

Posts: 24
Name: Justin
Trades: 0
Quote:
Originally Posted by Physicsguy View Post
My customer service guy also said that FollowSymLinks isn't allowed on my hosting account... Is that mandatory for it to work with mod_rewrite? mod_rewrite is supported.
I think the support guy was mistaken. If mod_rewrite is supported, then it is very unlikely that FollowSymLinks is not.
__________________

Please login or register to view this content. Registration is FREE
- Premium free cPanel hosting!
justinp is offline
Reply With Quote
View Public Profile Visit justinp's homepage!
 
Old 07-29-2010, 07:35 PM Re: 'There's an error in your .htacess file...
Physicsguy's Avatar
404 - Title not found

Posts: 920
Name: Scott Kaye
Location: Ontario
Trades: 0
That's what he said... mod_rewrite works but the FollowSymLinks is not.... >.<
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to 'There's an error in your .htacess file...
 

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 0.22252 seconds with 12 queries