Reg: .htaccess RewriteRule ..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Friends,

I am learning Zend Framework from http://framework.zend.com/wiki/display/ZFDEV/Official+ZF+QuickStart and according to the tutor i created alias as /qs/ and the Directory is "d:/QuickStart/public/". i created a .htaccess file with the following code
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
 
i get 400 Bad Request
Bad Request
Your browser sent a request that this server could not understand.

and if i use  the following code in .htaccess

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php

i am getting the default localhost web root  instud of the files hosted in "d:/QuickStart/public/". 


The software installed in the system is


WampServer 2.0c [05/05/2008]
 Includes :
 - Apache 2.2.8
 - MySQL 5.0.51b
 - PHP 5.2.6

i have enabled "rewrite_module" in apache.


Please suggest regarding the problem.

Thanks & Regards,
Satya






________________________________________


type_D


[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux