I can't found .htacess file
testtest22 8
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: I can't found .htacess file
testtest22
OP
8
From: -
From: -
rewrite rules for lighttpd:
I've test it in my server
url.rewrite = (
"^/(.+).php(.*)" => "/$1.php$2",
"^/(cadmin|jscripts|images|sitemap)/(.*)$" => "/$1/$2",
"^/(.+)$"=>"/contentteller.php"
)
I've test it in my server
1 Re: I can't found .htacess file
testtest22
OP
8
From: -
From: -
This is the content of .htaccess:
<Files contentteller>
ForceType application/x-httpd-php
</Files>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^contentteller|contentteller/|contentteller/(.+)$ contentteller.php [L,QSA]
# Uncomment the following RewriteCond/RewriteRule lines if you are using the mod_rewrite SEO option
# You may need to adjust the third RewriteCond line to exclude additional directories
# Note: Using the mod_rewrite option is only recommended for experienced users
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !^(cadmin|jscripts|images|sitemap)/
#RewriteRule ^(.+)$ contentteller.php [L,QSA]
</IfModule>
You are looking for the following rules:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(cadmin|jscripts|images|sitemap)/
RewriteRule ^(.+)$ contentteller.php [L,QSA]
Basically, this will ignore the cadmin, jscripts, images, and sitemap directories and send all other inquires to contentteller.php
Thank you
I'll try it
1 Re: I can't found .htacess file
Philipp Esselbach
From: -
Editor
0From: -
This is the content of .htaccess:
You are looking for the following rules:
Basically, this will ignore the cadmin, jscripts, images, and sitemap directories and send all other inquires to contentteller.php
<Files contentteller>
ForceType application/x-httpd-php
</Files>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^contentteller|contentteller/|contentteller/(.+)$ contentteller.php [L,QSA]
# Uncomment the following RewriteCond/RewriteRule lines if you are using the mod_rewrite SEO option
# You may need to adjust the third RewriteCond line to exclude additional directories
# Note: Using the mod_rewrite option is only recommended for experienced users
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !^(cadmin|jscripts|images|sitemap)/
#RewriteRule ^(.+)$ contentteller.php [L,QSA]
</IfModule>
You are looking for the following rules:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(cadmin|jscripts|images|sitemap)/
RewriteRule ^(.+)$ contentteller.php [L,QSA]
Basically, this will ignore the cadmin, jscripts, images, and sitemap directories and send all other inquires to contentteller.php
I've download and install Contentteller Community Edition v1.0.0 RC2,but I couldn't found .htacess file.
I've active the mod_rewrite module,but I don't know rewrite rules.
My web server is lighttpd,if I know .htacess content,I could write it into lighttpd.conf.