Jump to content

Using Apache isapi with myapp.dll in the url


Guest

Recommended Posts

Message from: "Junior/RO"

 

Maybe this can be useful to others.

 

I am using apache + mod_isapi to serve a unigui application, but don't like the url

 

www.mysite.com/uniguiapp.dll

 

 

Hiding the dll name can be easily done using the rewrite engine of Apache.

 

 

ServerName www.mysite.com

DocumentRoot "D:/MyUniGuiApplication"

 

AddHandler isapi-handler .dll

Options ExecCGI

AllowOverride None

Order allow,deny

Allow from all

 

RewriteEngine on

RewriteRule ^/(.*) /MyUniguiApplication.dll/$1

 

 

 

The magic is done by RewriteRule. Now I can type

 

www.mysite.com

 

and the unigui isapi will run your unigui application.

 

 

PS: Farshad, maybe using the "Indices" in the Option directive, as stated in uniGUI Developer's Manual, is not a good idea.

 

FollowSymLinks was unnecessary to the application work and I removed it.

.

 

Link to comment
Share on other sites

Message from: "Junior/RO"

 

Junior/RO escreveu:

 

> Hiding the dll name can be easily done using the rewrite engine of Apache.

 

I will investigate if we can make Apache serve static files, like the javascripts of ext-js, using ProxyPass.

.

 

Link to comment
Share on other sites

  • 8 months later...

Hello,

If my program is called consulta.dll and is located in c: \ pruebaunigui

as it should configure apache so that it can run?

If I can send a complete apache configuration to check this point I could not configure with the instructions of the forum

 

Thanks for your trouble

Link to comment
Share on other sites

Hello,

If my program is called consulta.dll and is located in c: \ pruebaunigui

as it should configure apache so that it can run?

If I can send a complete apache configuration to check this point I could not configure with the instructions of the forum

 

Thanks for your trouble

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...