| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
sceltic PR0

Joined: 04 May 2006 Posts: 55
|
Posted: Sun May 28, 2006 12:22 am Post subject: htaccess rules for phpbb |
|
|
the rules
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
I know about rewrite engine on
but what do the other two do?
Options +FollowSymlinks ?
RewriteBase / ?
And are they vital?
I ask because the site I am looking at has used able2knows mod and that did not require these! |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Sun May 28, 2006 12:38 am Post subject: Re: htaccess rules for phpbb |
|
|
The source for Apache core Feature : Apache Core Features
Options +FollowSymLinks :
| Quote: | Options directive
Syntax: Options [+|-]option [[+|-]option] ...
Context: server config, virtual host, directory, .htaccess
Override: Options
Status: core
The Options directive controls which server features are available in a particular directory.
option can be set to None, in which case none of the extra features are enabled, or one or more of the following:
FollowSymLinks
The server will follow symbolic links in this directory.
Note: even though the server follows the symlink it does not change the pathname used to match against <Directory> sections.
Note: this option gets ignored if set inside a <Location> section. |
Simlinks :
| Quote: | | A symbolic link (often symlink, especially in verb form, or soft link) is a special type of directory entry in modern Unix (or Unix-like) filesystems that allows to almost transparently refer to another directory entry, typically a file or a directory. |
This is used by Apache to allow use of symlinks, which according to where and how you are hosted can make the mod rewrite to work better. If it works without in your particular case, then you can get rid of it.
RewriteBase :
| Quote: | | The RewriteBase directive explicitly sets the base URL for per-directory rewrites. As you will see below, RewriteRule can be used in per-directory config files (.htaccess). There it will act locally, i.e., the local directory prefix is stripped at this stage of processing and your rewriting rules act only on the remainder. At the end it is automatically added back to the path. |
When set to / for an .htaccess located in the root folder, it will just tell Apache to start the rewriting at the root level in a faster way than if it had to go for the default setting. Usually it works as well without
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |