Hi there,
I have MOD_REWRITE enabed for my website and wondered if there are any implications of using the following code on the Ubuntu webserver. I only have access about Puclic html for your info:
<? require_once($_SERVER['DOCUMENT_ROOT']. "/include/script.php");?>
Here is my .htaccess:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^robots\.txt$
#RewriteRule ^([a-zA-Z0-9_-]+) index.php?p=$1/$2 [L]
RewriteRule ^([^/]+)/? index.php?p=$1