Jump to content

Recommended Posts

I did a mod rewrite for a new program I have on my site, and I just want to know more about what I am doing. I was successful, but have questions:

 

1) What is FollowSymLinks, and what is the difference between Options FollowSymLinks and Options +FollowSymLinks. I had to use Options FollowSymLinks to get my rewrite to work. It's a godaddy server so maybe that means something.

 

2) Options +FollowSymLinks -MultiViews works instead of Options FollowSymLinks, but if -Multiviews is removed, the plus sign in front of FollowSymLinks has to be removed for the rewrite to work. So what is with the plus sign, and what is -Multiviews?

 

Is there any need to use [R=301,L] for a standard rewrite rule? Will I be penalized by search engines for not supplying the 301 redirect info? Will I have any other problems without including it?

 

I have seen the official apache documentation, but it is too uberGeek for me to understand. Is there a dummies guide to this anywhere? Rewrites for boneheads? I'm no stranger to regex, so what I'm looking for is the Options info, etc.

 

In case anyone else needs a rewrite on a godaddy server, here is what I used:

Options FollowSymLinks
rewriteEngine on
rewriteRule ^tips/([0-9]+).php5 /test/tips.php5?tip=$1 [NC]

Link to comment
https://forums.phpfreaks.com/topic/59010-why-followsymlinks-and-other-questions/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.