Re: htaccess file not working

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

 



You need to define your serving directories in the httpd.conf file  
and add inside the directory block, allow override: all or else  
apache ignores the .htaccess file. I just went through the same thing  
with linux.

eg:

DocumentRoot "/websites/mysite"

<Directory />
     Options FollowSymLinks
     AllowOverride None
</Directory>

<Directory "/websites/moving seabass/century21newhorizon">
     Options All MultiViews
     AllowOverride All
</Directory>




-m

On Dec 23, 2005, at 11:57 AM, Farhan khalid wrote:

>
> i have installed apache and php 4 in windows 2000
>
> everything is running fine except that .htaccess file does not run  
> in apache
>
> if i have to work on any project that requires htaccess file i  
> cannot work
> beacause htaccess file is not being read by apache
>
> i have tried everything made alot changes but no luck
>
> can anybody tell me what could be the problem
>
> Regards
> Farhan



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



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

  Powered by Linux