Jump to content

Recommended Posts

Posted

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.

.

 

Posted

Message from: "Junior/RO"

 

Junior/RO escreveu:

 

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

 

"Indexes"

.

 

Posted

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.

.

 

  • 8 months later...
Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...