[PHP] Hoe does that work - http://www.domainname.con/?var=lakjhd (instead of http://www.domainname.con/file.php?var=lakjhd)?
How do you activate / allow the behavious http://www.domainname.con/?var=lakjhd instead of the more traditional http://www.domainname.con/file.php?var=lakjhd -- symbulos partners -.- symbulos - ethical services for your organisation http://www.symbulos.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hoe does that work - http://www.domainname.con/?var=lakjhd (instead of http://www.domainname.con/file.php?var=lakjhd)?
Rename the file.php to your web server default index file name, such as index.php. Or make a rewrite for it On Thu, 03 Feb 2005 09:42:45 +, symbulos partners [EMAIL PROTECTED] wrote: How do you activate / allow the behavious http://www.domainname.con/?var=lakjhd instead of the more traditional http://www.domainname.con/file.php?var=lakjhd -- symbulos partners -.- symbulos - ethical services for your organisation http://www.symbulos.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hoe does that work - http://www.domainname.con/?var=lakjhd (instead of http://www.domainname.con/file.php?var=lakjhd)?
[snip] How do you activate / allow the behavious http://www.domainname.con/?var=lakjhd instead of the more traditional http://www.domainname.con/file.php?var=lakjhd [snip] Are you using Apache? - http://httpd.apache.org/docs-2.0/mod/mod_dir.html || http://httpd.apache.org/docs-2.0/mod/core.html#directory Chris Ramsay Web Developer - The Danwood Group Ltd. Tel #: +44 (0)1522 882 288 DDI #: +44 (0)1522 834 482 Fax #: +44 (0)1522 884 488 Email: [EMAIL PROTECTED] Web : http://www.danwood.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hoe does that work - http://www.domainname.con/?var=lakjhd (instead of http://www.domainname.con/file.php?var=lakjhd)?
Dear Symbulos Partners, OK this is becoming off topic really...but here we go very briefly... If you are using apache web server(?) then you need to edit your httpd.conf and add index.php to your DirectoryIndex list; Reference all calls to the file (will have to be called index.php) to /... If you want your file to be called anything else other than index.php, best you check out the apache mailing list archives: http://marc.theaimsgroup.com/?l=apache-httpd-users as this is a PHP mailing list ;) Chris Ramsay Web Developer - The Danwood Group Ltd. Tel #: +44 (0)1522 882 288 DDI #: +44 (0)1522 834 482 Fax #: +44 (0)1522 884 488 Email: [EMAIL PROTECTED] Web : http://www.danwood.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php