On Wed, Jan 21, 2009 at 10:40 AM, Dušan Novaković <ndu...@gmail.com> wrote:
> apache :-)
>
> 2009/1/21 Kyle Terry <k...@kyleterry.com>:
>> 2009/1/21 Kyle Terry <k...@kyleterry.com>:
>>> On Wed, Jan 21, 2009 at 10:12 AM, Dušan Novaković <ndu...@gmail.com> wrote:
>>>> Hi,
>>>>
>>>> Is there some elegant solution how to redirect if someone try to open
>>>> some non existing page (e.g www.domain.com/nonexistingpage.php) to
>>>> main page www.domain.com on website?
>>>>
>>>> thnx, Dusan
>>>>
>>>> --
>>>> made by Dusan
>>>>
>>>> --
>>>> PHP General Mailing List (http://www.php.net/)
>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>
>>>>
>>>
>>> Google for "apache 404 redirect" and read around a bit. Checkout the
>>> documentation on apache.org as well.
>>>
>>> --
>>> Kyle Terry | www.kyleterry.com
>>>
>>
>> That was assuming you are using apache by the way. What web server are
>> you using?
>>
>> --
>> Kyle Terry | www.kyleterry.com
>>
>
>
>
> --
> made by Dusan
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

This will be your best friend then.
http://httpd.apache.org/docs/2.2/custom-error.html

-- 
Kyle Terry | www.kyleterry.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to