Re: Redirect to

From: Date: Thu, 10 Jun 2010 18:09:21 +0000
Subject: Re: Redirect to
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-306011@lists.php.net to get a copy of this message
On Thu, Jun 10, 2010 at 14:06, Ahmed Mohsen <mrez05@gmail.com> 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@parasane.net || danbrown@php.net http://www.parasane.net/ || http://www.pilotpig.net/ We now offer SAME-DAY SETUP on a new line of servers!

« previous php.general (#306011) next »