You are here: Re: mod_rewrite Directory Problem « PHP Programming Language « IT news, forums, messages
Re: mod_rewrite Directory Problem

Posted by Rik G. on 06/09/06 16:32

lorento wrote:
> Rik G. wrote:
>> What, apart from not using relative paths in database.php, can be done
>> to make things work correctly so that database.php always thinks it is
>> in the root directory and finds the images?
>
> Define your image directory in .htaccess:
>
> RewriteRule ^qqq/images/(.*)$ images/$1
>
>
> regards,
>
> Lorento
> --
> http://blog.deshot.com
> http://www.groupvita.com
>

Thank you, that does the trick.

R.

 

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

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