anders2002
MIS
Hi,
I am trying to setup my apache installation so that when a php script attempts the following include: /var/
it actually looks at:
C:/Program Files/Apache Group/Apache/htdocs/glcorp_php_settings/settings.php
How can this be done?
I have tried adding this text at the documentroot and <IfModule mod_alias.c> parts of httpd.conf but its still not working?...
Alias /var/ "C:/Program Files/Apache Group/Apache/htdocs/glcorp_php_settings/settings.php"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "C:/Program Files/Apache Group/Apache/htdocs/glcorp_php_settings/settings.php">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Can anyone suggest anything I may be doing wrong?
Thanks,
Anders
I am trying to setup my apache installation so that when a php script attempts the following include: /var/
it actually looks at:
C:/Program Files/Apache Group/Apache/htdocs/glcorp_php_settings/settings.php
How can this be done?
I have tried adding this text at the documentroot and <IfModule mod_alias.c> parts of httpd.conf but its still not working?...
Alias /var/ "C:/Program Files/Apache Group/Apache/htdocs/glcorp_php_settings/settings.php"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "C:/Program Files/Apache Group/Apache/htdocs/glcorp_php_settings/settings.php">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Can anyone suggest anything I may be doing wrong?
Thanks,
Anders