Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 49252 invoked from network); 19 Mar 2004 11:57:28 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Mar 2004 11:57:28 -0000 Received: (qmail 1095 invoked by uid 500); 19 Mar 2004 11:57:14 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 1083 invoked by uid 500); 19 Mar 2004 11:57:14 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 1069 invoked from network); 19 Mar 2004 11:57:13 -0000 Received: from unknown (HELO www.lietuvoje.lt) (213.252.233.37) by daedalus.apache.org with SMTP; 19 Mar 2004 11:57:13 -0000 Received: from [192.168.0.35] (helo=lietuvoje.lt) by www.lietuvoje.lt with esmtp (Exim 3.35 #1 (Debian)) id 1B4IgS-0000an-00 for ; Fri, 19 Mar 2004 14:01:04 +0200 Message-ID: <405ADFF7.8010401@lietuvoje.lt> Date: Fri, 19 Mar 2004 13:56:39 +0200 From: =?windows-1257?Q?=22Eimantas_=5C=22EnC=5C=22_Vai=E8i=FBnas=22?= Reply-To: eimantas@lietuvoje.lt Organization: TIKRA PRODUKCIJA User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] yet another mod_rewrite problem X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello list. The folowing are the files from my apache (problem description follows at the bottom): main.rewrite.conf (included from vhosts.conf which is included from httpd.conf) ============================ RewriteEngine On RewriteLog logs/main.rewrite.log RewriteLogLevel 2 # Rewrite Rules!!! RewriteCond %{REQUEST_URI} !^$ [OR] RewriteCond %{REQUEST_URI} !^/(.+)\.(css|jpg|gif|png)$ [NC] RewriteRule ^/(.+)/$ /$1\.php [C] ============================ Rewrite log: ============================ 127.0.0.1 - - [19/Mar/2004:13:54:44 +0200] [dzhibutis.biz/sid#5de600][rid#5f8a30/initial] (2) init rewrite engine with requested uri /index/ 127.0.0.1 - - [19/Mar/2004:13:54:44 +0200] [dzhibutis.biz/sid#5de600][rid#5f8a30/initial] (2) rewrite /index/ -> /index.php 127.0.0.1 - - [19/Mar/2004:13:54:44 +0200] [dzhibutis.biz/sid#5de600][rid#5f8a30/initial] (2) local path result: /index.php 127.0.0.1 - - [19/Mar/2004:13:54:44 +0200] [dzhibutis.biz/sid#5de600][rid#5f8a30/initial] (2) prefixed with document_root to D:/My WAMP/localhost/index.php 127.0.0.1 - - [19/Mar/2004:13:54:44 +0200] [dzhibutis.biz/sid#5de600][rid#5f8a30/initial] (1) go-ahead with D:/My WAMP/localhost/index.php [OK] 127.0.0.1 - - [19/Mar/2004:13:54:51 +0200] [dzhibutis.biz/sid#5de600][rid#5fca40/initial] (2) init rewrite engine with requested uri /index/main.css 127.0.0.1 - - [19/Mar/2004:13:54:51 +0200] [dzhibutis.biz/sid#5de600][rid#5fca40/initial] (1) pass through /index/main.css 127.0.0.1 - - [19/Mar/2004:13:54:52 +0200] [dzhibutis.biz/sid#5de600][rid#5fca40/initial] (2) init rewrite engine with requested uri /index/pics/logo_dzhib.jpg 127.0.0.1 - - [19/Mar/2004:13:54:52 +0200] [dzhibutis.biz/sid#5de600][rid#5fca40/initial] (1) pass through /index/pics/logo_dzhib.jpg ================================= As you see when i rewrite /index/ to index.php all the other requested files are prepended with rewritten index.php (/index/) Any help is very appreciated. Thank you --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org