Re: HTACCESS urgent

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

 



An more...

RewriteCond %{http_host} ^127.0.0.1 [NC]
RewriteCond %{HTTP_HOST} ^localhost [NC,OR]

On a public server?

On Fri, May 8, 2009 at 12:39 PM, Davide Baglieri <davidonzo@xxxxxxxxx> wrote:
> It should be nice know something more about your apache configuration.
>
> Try disabling the Options FollowSymLinks puting a # before.
>
> On Fri, May 8, 2009 at 11:31 AM, gopi nath <gopivsb@xxxxxxxxxxx> wrote:
>>
>>
>> MY previous bug is cleared.
>>
>> my problem is htaccess is work in localhost but not problerly  work in
>> server .
>> my htaccess
>> AddType x-mapp-php5 .php
>> RewriteEngine ON
>> Options FollowSymLinks
>> RewriteOptions Inherit
>>
>> RewriteBase /
>>
>> RewriteCond %{http_host} ^127.0.0.1 [NC]
>> RewriteCond %{HTTP_HOST} ^localhost [NC,OR]
>> RewriteRule ^(.*)$ http://localhost/afu1.4/ [L,R=301]
>> RewriteRule ^(([a-zA-Z0-9-\ _/\[\]&]+)(?!(ajax$|css$|images$)))$
>> index.php?cat=$1 [NC]
>>
>> Cricket on your mind? Visit the ultimate cricket website. Enter
>> http://beta.cricket.yahoo.com
>>
>> [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