Current time: 11-06-2024, 07:09 AM Hello There, Guest! (LoginRegister)


Post Reply 
Problems with rewrite mode after the first level
Author Message
claussit Offline
Junior Member
*

Posts: 12
Joined: Nov 2010
Reputation: 0
Post: #5
RE: Problems with rewrite mode after the first level
(05-17-2011 05:47 AM)ShadowJumper Wrote:  where is the file exactly, and what is the content of the file?

/var/www/virtual/domain.com/htdocs/.htaccess

I replaced my domain name with domain.com . Some files have romanian names , but their name is not important

"
Options -Indexes

#php_flag display_errors off

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]

RewriteRule ^$ index.html
RewriteRule ^admin/ - [L,NC]
RewriteRule ^static/ - [L,NC]

RewriteRule contact.html contact.php [L,NC]
RewriteRule index.html index.php [L,NC]
RewriteRule login.html login.php [L,NC]
RewriteRule inregistrare.html inregistrare.php [L,NC]
RewriteRule plataonline/([0-9]+).html plataonline.php?id=$1 [L,NC]
....
"
Can be a problem with DNS? not working properly ? and rewrite mode setting does not work because the path is not well defined .
05-17-2011 06:04 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Problems with rewrite mode after the first level - claussit - 05-17-2011 06:04 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)