Re: Shared network server failing to include files
| From: | Andrew Brampton | Date: | Wed, 14 Aug 2002 17:19:41 +0000 |
| Subject: | Re: Shared network server failing to include files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112555@lists.php.net to get a copy of this message | ||
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
>
>