Re: Shared network server failing to include files
| From: | @ Edwin | Date: | Wed, 14 Aug 2002 17:51:09 +0000 |
| Subject: | Re: Shared network server failing to include files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112561@lists.php.net to get a copy of this message | ||
And still, if this doesn't work, why not install PHP as well--with Apache... (Perhaps, there must really be some good reason why not...)
I'm not sure what was meant by
A Windows 2000 takes care of our network internet connectivitybut if a router is present, why not just map HTTP request to the linux server? Just wondering, - E
Hi, I don't think this is a PHP question, but the line Alias /cs/ //192.168.0.253/apachedir/ try Alias /cs/ \\192.168.0.253/apachedir/ Because //isn't valid for UNCs, but \\ is.. If this doesn't work, then with dos map \\192.168.0.253/apachedir/ to a network drive and point apache at that Andrew ----- Original Message ----- From: "Julio Nobrega" <inerte@hotmail.com> To: <php-general@lists.php.net> Sent: Wednesday, August 14, 2002 4:58 PM Subject: [PHP] Shared network server failing to include files Hi all, I am not 100% sure if this is a PHP problem, so I apologize in advance
if it is an off-topic problem. I have a Linux server where I develop my websites. A Windows 2000 takes
care of our network internet connectivity. I need to show to a client the
progress of our work, so I've shared through Samba a directory from Linux,
and installed Apache on the Windows 2000 and used the Alias option to point to this Linux share: Alias /cs/ //192.168.0.253/apachedir/ When I access my development website locally, or use a browser and input
the IP address, everything goes fine. But when I am on the Windows 2000 and type: http://localhost/cs/ An include error occurs: Fatal error: Failed opening required 'gerador.inc.php' (include_path='')
in //192.168.0.253\apachedir\index.php on line 3 Anyone knows the fix? Perhaps I should ask what basically I have in mind
since the beggining: How can I server webpages from a networked Linux through the Windows 2000 that is connected to the Internet? Any help is sincerely appreciated. Thanks, -- Julio Nobrega -- 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_________________________________________________________________ きっと見つかるあなたの新居 不動産情報は MSN 住宅で http://house.msn.co.jp/