Re: Redirect to

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

 



On Thu, Jun 10, 2010 at 14:06, Ahmed Mohsen <mrez05@xxxxxxxxx> wrote:
[snip!]
>
> I don't want to enter (example.com/public) to view index.php file.  I just
> want to enter (example.com) and it redirects to the public folder and shows
> only (example.com/index.php) in the URL.  And for login.php should display
> (example.com/admin/login.php) not (example.com/public/admin/login.php)

    That's an HTTP server configuration.  For example, with Apache,
you should look at the DocumentRoot setting.

-- 
</Daniel P. Brown>
daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
http://www.parasane.net/ || http://www.pilotpig.net/
We now offer SAME-DAY SETUP on a new line of servers!

-- 
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