Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache 2.0 alias issue with exe reference |
|
Author |
|
Philippe_T
Joined: 03 May 2014 Posts: 3
|
Posted: Mon 05 May '14 15:15 Post subject: Apache 2.0 alias issue with exe reference |
|
|
Hi,
I'm running into some problems settings up my test web server.
I am developing with WebDev and the test site I made on my development computer is running fine on IIS 7.5. But on my client old Windows XP SP3 PC with IIS 5.1 it won't work.
So now I'm trying with Apache 2.0 and I'm facing a small issue.
In test mode it works, the test mode uses in the link an exe reference. here is the link.
http://192.168.1.13/WD180AWP/wd180awp.exe/CONNECT/SERIAL_MONITORING
But if I only use the alias it won't, it returns a 404 o 403.
http://192.168.1.13/SERIAL_MONITORING
Any pointers on this? On PC Soft forum they told me to stop wasting my time on an old PC, which they are right but I still need to test my application in house before selling it.
I tried different configuration in the httpd and I can't seem to get it to work.
here is the file.
Admin note:
httd.conf removed, see forum rules: This Forum is not a consulting service where you can dump your config file and ask for it to be analyzed.
Thanks
Phil |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 05 May '14 16:34 Post subject: Re: Apache 2.0 alias issue with exe reference |
|
|
Philippe_T wrote: |
Admin note:
httd.conf removed, see forum rules: This Forum is not a consulting service where you can dump your config file and ask for it to be analyzed.
|
Please post the relevant part of your config. |
|
Back to top |
|
Philippe_T
Joined: 03 May 2014 Posts: 3
|
Posted: Mon 05 May '14 17:18 Post subject: |
|
|
Sure here is the lines I changed.
Code: | ScriptAlias /WD110AWP/ "C:/WebDev18/AWP/"
<Directory C:/WebDev18/AWP/>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /WD120AWP/ "C:/WebDev18/AWP/"
ScriptAlias /WD140AWP/ "C:/WebDev18/AWP/"
ScriptAlias /WD150AWP/ "C:/WebDev18/AWP/"
ScriptAlias /WD160AWP/ "C:/WebDev18/AWP/"
ScriptAlias /WD170AWP/ "C:/WebDev18/AWP/"
ScriptAlias /WD180AWP/ "C:/WebDev18/AWP/"
AddType application/WebDev18-awp .awp
Action application/WebDev18-awp /WD180AWP/WD180Awp.exe
AddType application/WebDev18-awws .awws
Action application/WebDev18-awws /WD180AWP/WD180Awp.exe
Alias /SERIAL_MONITORING_WEB/ "C:/WebDev18/Sites/Serial_Monitoring/SERIAL_MONITORING_WEB/"
<Directory C:/WebDev18/Sites/Serial_Monitoring/SERIAL_MONITORING_WEB/>
Order allow,deny
Allow from all
AddType text/cache-manifest .manifest
</Directory>
<Files Serial_Monitoring>
ForceType application/WebDev18-awp
Allow from all
</Files> |
Mode note: added code tags |
|
Back to top |
|
Philippe_T
Joined: 03 May 2014 Posts: 3
|
Posted: Tue 06 May '14 14:22 Post subject: |
|
|
Also, I made sure Apache is running in service mode.
I'm getting this page on my web browser "
"Not Found
The requested URL /SERIAL_MONITORING/ was not found on this server.
Apache/2.0.65 (Win32) Server at 192.168.1.13 Port 80"
Thanks
Phil |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 26 May '14 10:15 Post subject: |
|
|
I guess you have to confgiure a different "index" file.
Did you try the url with a correct file name? Like
SERIAL_MONITORING/index.?? or something like that? |
|
Back to top |
|
|
|
|
|
|