You are here: Re: [PHP] Re: .htaccess « PHP « IT news, forums, messages
Re: [PHP] Re: .htaccess

Posted by blackwater dev on 09/15/05 04:20

Yes, I had already changed the AllowOverride.

It might be php as I get this in my logs:

[Wed Sep 14 20:04:46 2005] [notice] caught SIGTERM, shutting down
PHP Warning: PHP Startup: Unable to load dynamic library
'./php_mcrypt.so' - ./php_mcrypt.so: cannot open shared object file:
No such file or directory in Unknown o$
This version of ZDS requires a license. License check failed: Cannot
find the license file: zend_performance_suite.zl (path was:
/usr/local/Zend:/usr/local/Zend/etc:$
Zend Download Server not enabled.
[Wed Sep 14 20:04:51 2005 (18237)] [Zend Accelerator] [Info] License
check failed: Cannot find the license file: zend_canaveral.zl (path
was: /usr/local/Zend:/usr/lo$

[Wed Sep 14 20:04:51 2005] [notice] Apache/2.0.52 (Unix) PHP/5.0.3
configured -- resuming normal operations


On 9/13/05, David Robley <robleyd@ozemail.com.au> wrote:
> blackwater dev wrote:
>
> > Thanks David,
> >
> > I just set it to AllowOverride All and restarted apache but it still
> > doesn't seem to work.
> >
> > On 9/13/05, David Robley <robleyd@ozemail.com.au> wrote:
> >> blackwater dev wrote:
> >>
> >> > I am using .htaccess files throughout my code directory tree to set
> >> > certain directives such as php_value auto_prepend_file
> >> > ../lib/libmatrix.php
> >> >
> >> > The problem is, they don't work.
> >> >
> >> > I have this in apache:
> >> >
> >> > <Directory "usr/local/apache/htdocs/realtors/">
> >> > Options FollowSymLinks
> >> > AllowOverride None
> >> > </Directory>
> >> >
> >> > Where realtors is the root directory of my site...how can I get it to
> >> > work?
> >> >
> >> > Thanks!
> >>
> >> I think you need to look again at the apache documentation, especially
> >>
> >> http://httpd.apache.org/docs/1.3/mod/core.html#allowoverride
>
> Odd - works for me (just tried it). By not working, I assume you mean the
> file is not being included, but you get no error. First, check that apache
> is truly reading the .htaccess file by putting a syntax error in it - if it
> is being read you should get a 500 Server error when you try to hit a page
> in the directory where the .htaccess file is.
>
>
>
>
> Cheers
> --
> David Robley
>
> When you're in love, you're at the mercy of a stranger.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация