Keywords: LAMP/MAMP/WAMP - Installers - How to - Application configuration
I’m trying to create a web path to a fileshare using Apache Alias directive on WAMP 8.0.8. I have deployed my application called “winforms”, and I’m trying to use
[ Alias /winforms/docs/ "//company.com/path/folder/" ] with UNC path. I also tried to use
[Alias /winforms/docs/ "C:\temp\" ]. In all case, I get “not found” error. Also tried Alias on the main htdocs/docs folder, same results.
The file share only needed to be available for this “winforms” application, but giving access to all deployed apps would be acceptable.
I tried to modify these config files, and restarted the Apache server after every change:
c:\appl\WAMPstack\wampstack808\apps\winforms\conf\httpd-prefix.conf c:\appl\WAMPstack\wampstack808\apps\winforms\conf\\httpd-vhosts.conf C:\appl\WAMPstack\wampstack808\apache2\conf\httpd.conf C:\appl\WAMPstack\wampstack808\apache2\conf\bitnami\bitnami.conf
The mod_alias module is enabled in
\apache2\conf\httpd.conf by default, and I have added
LoadModule vhost_alias_module modules/mod_vhost_alias.so .
Also tried to use
Alias with & without creating
I am new to php/Apache, and I have run out of ideas how to do it. Please, help. How to do it right?