Re: Redirecting from unreachable page on website

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

 



On Wed, Jan 21, 2009 at 10:40 AM, Dušan Novaković <ndusan@xxxxxxxxx> wrote:
> apache :-)
>
> 2009/1/21 Kyle Terry <kyle@xxxxxxxxxxxxx>:
>> 2009/1/21 Kyle Terry <kyle@xxxxxxxxxxxxx>:
>>> On Wed, Jan 21, 2009 at 10:12 AM, Dušan Novaković <ndusan@xxxxxxxxx> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux