You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Eimantas \"EnC\" Vaičiūnas" <ei...@lietuvoje.lt> on 2004/03/19 12:56:39 UTC

[users@httpd] yet another mod_rewrite problem

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 <URL:http://httpd.apache.org/userslist.html> 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


[users@httpd] LoadFile problem

Posted by ma...@wooow.it.
Hi all
My question:

I need information to compile and load  a DLL with Apache.

There are DLL that Apache load and other that no.

I use Apache 2.0.48 on winXP as service (file
apache_2.0.48-win32-x86-no_ssl.msi)

in http.conf

I write

LoadFile "C:/Program Files/Apache Group/Apache2/bin/iconv.dll"

# iconv run correctly

LoadFile "C:/Program Files/Apache Group/Apache2/bin/libxml2.dll"

LoadFile "C:/Program Files/Apache Group/Apache2/bin/libexslt.dll"

LoadFile "C:/Program Files/Apache Group/Apache2/bin/libxslt.dll"

I download all files

http://www.zlatkovic.com/pub/libxml/

libxml2

---------

ver. 2.6.7 NO

ver. 2.6.6 NO

ver. 2.6.5+ NO

ver. 2.6.5 NO

.. I suppose NO

ver. 2.6.0 NO

ver. 2.5.1 OK

libxslt

-----------

ver. 1.1.4 N0

ver. 1.1.3 NO

.. I suppose NO

ver 1.0.33 NO

ver 1.0.32 OK

It is possible?

 There are difference between 2.5 to 2.6 in libxml2 and 1.0 and 1.1 in
libxslt?

Then, for to complete

The magic last zlib-1.1.4 is OK evidently.

LoadFile "C:/Program Files/Apache Group/Apache2/bin/zlib.dll"

The Mozilla basic library is NO

LoadFile "C:/Program Files/Apache Group/Apache2/bin/plc4.dll"

LoadFile "C:/Program Files/Apache Group/Apache2/bin/plds4.dll"

LoadFile "C:/Program Files/Apache Group/Apache2/bin/xpcom.dll"

....

the openssl-0.9.7c.win32 is OK

LoadFile "C:/Program Files/Apache Group/Apache2/bin/libeay32.dll"

LoadFile "C:/Program Files/Apache Group/Apache2/bin/ssleay32.dll"

the libxmlsec-1.2.4.win32 is NO

LoadFile "C:/Program Files/Apache Group/Apache2/bin/libxmlsec.dll"

LoadFile "C:/Program Files/Apache Group/Apache2/bin/libxmlsec-mscrypto.dll"

LoadFile "C:/Program Files/Apache Group/Apache2/bin/libxmlsec-openssl.dll"



Thans for help me

==================
Massimo Cozzi
Internet Consultant
massimocozzi2@virgilio.it





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Re: [users@httpd] yet another mod_rewrite problem

Posted by "Eimantas \"EnC\" Vaic(iu-nas" <ei...@lietuvoje.lt>.
Hi again,

sorry for my lameness, but discard the last 'chain' flag ([C]) since it 
has no effect.

Thank you again.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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