Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

an alias for use a dll as a cgi !

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Alias match? or what? - Hello! We recently the domain to our servers and recreated their web page. Not that the above matters very much, but at least you have a better idea why I am getting the errors that I am. The errors follow- ..

Apache - Alias - hey:), Problem in So, I have 2 (or more) outside of htdocs tree, for example: how can i obtain listing like that after request Index of /dirs Name ..

problem with /manual/ alias - Hi, I have a problem that doesn't seem to have been covered by the usual google search.. I can't get alias to work, not my own creations mind, but the ones built in such as /manual/ which I is supposed to diplay the that is..
Next:  Apache: help with proxy configuration  
Author Message
teledecharge

External


Since: Sep 10, 2003
Posts: 1



(Msg. 1) Posted: Wed Sep 10, 2003 7:42 am
Post subject: an alias for use a dll as a cgi !
Archived from groups: alt>apache>configuration (more info?)

Hello,

I don't find this option in Apache : how to use a .dll and alias it as a .cgi.
Example :I want "azerty.dll" to be alias and named "azerty.cgi" in httpd.conf.
I found it on Alibaba server : it names DLL alias
you enter an Alias: /cgi-bin/azerty.cgi
you enter a Value: c:/MyServer/dll/azerty.dll
And it works fine !

It is possible to do the same with Apache ?
Please help !
Thanks
Yan

 >> Stay informed about: an alias for use a dll as a cgi ! 
Back to top
Login to vote
jring1

External


Since: Sep 28, 2003
Posts: 2



(Msg. 2) Posted: Sun Sep 28, 2003 1:29 pm
Post subject: Re: an alias for use a dll as a cgi ! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > I don't find this option in Apache : how to use a .dll and alias it as a .cgi.
 > Example :I want "azerty.dll" to be alias and named "azerty.cgi" in httpd.conf.
 > I found it on Alibaba server : it names DLL alias
 > you enter an Alias: /cgi-bin/azerty.cgi
 > you enter a Value: c:/MyServer/dll/azerty.dll
 > And it works fine !
 >
 > It is possible to do the same with Apache ?

i don't know wether it's possible to do this with apache and have no windows
at hand to test. but it is easily doable like this with mod_rewrite:

ScriptAlias /cgi-bin "c:\myserver\dll"

RewriteEngine On
RewriteRule /cgi-bin/(.*)\.cgi /cgi-bin/$1.dll

joachim<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: an alias for use a dll as a cgi ! 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]