This XAMPP driven website can be accessed locally, but from the other PC, folder/file access seems to be a problem.
With the url http://50.100.150.101/ (isolated network address; vhosts with fix ip reference - see below) the browser seems to connect to Apache, becuase it trys to load the default file; but it can't see that default file, giving the error:
Warning: include_once(C:/xampp/xampp/websiteName/htdocs_dev1/home.inc.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\xampp\websiteName\htdocs_dev1\default.php on line 100
On the PC running XAMPP, the default.php _is_ at "C:/xampp/xampp/websiteName/htdocs_dev1/". That file and hence the webite that runs thereafter, functions fully when run locally. It is not of course on the 'remote' PC.
httpd-vhosts.conf:
- Code: Select all
httpd-vhosts.conf:
<VirtualHost 50.100.150.101:80>
ServerName www.websiteName.local
ServerAlias websiteName.local
DocumentRoot C:/xampp/xampp/websiteName/htdocs_dev1
DirectoryIndex default.php
</VirtualHost>
<Directory "C:/xampp/xampp/websiteName/htdocs_dev1/">
Options Indexes FollowSymLinks Includes MultiViews
AllowOverride All
Order Allow,Deny
Allow from All
</Directory>
Any ideas and suggests would be greatly appreciated, thanks.