> Hello.
> 
> I have no idea in Linux systems yet nor in Web Servers configurations and
> stuff, and now I wonder:
> 
> www.php.net/asdfadasdasd
> 
> who takes control if i didn't specify a script name in the url?

the web-server
if you access www.php.net/asdfadasdasd (and the directory DOES exist) the
web-server returns:
301 Moved Permanently
http://www.php.net/asdfadasdasd/

then the Web-Server gets the request "http://www.php.net/asdfadasdasd/" from
the Browser
Now the server looks in its configuration (for example Apache:
DirectoryIndex index.php)

> does it work on windows PWS ?

I don't even want to try it ;-)

> 
> and sometimes i see:
> 
> www.site.com/?asdasdf=adasd
> 
> can someone please explain me this process.

the server looks in its configuration (for example Apache: DirectoryIndex
index.php) and returns this page - with the GET-Varaibales as well (your
Browser doesn't have to know, what this page's name is!)

But I'm sure you can configure your webserver (or put it in your script) to
make a 301/2/3 and redirect to the full URL!

witty

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to