Jump to content


Photo

Can I run .dll in Apache2 in Linux?


  • Please log in to reply
24 replies to this topic

#1 stlcours

stlcours

    Active Member

  • Banned
  • PipPipPip
  • 91 posts

Posted 30 August 2011 - 01:47 PM

Hi,

First question, can it(.dll) run in apache2 in Linux?
I tried to run .dll in Apache2 in Linux. So it should modify "httpd.conf":

LoadModule isapi_module modules/mod_isapi.so

AddHandler isapi-handler .dll

<Directory "\home\myapp">
Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /mywebapps "\home\myapp"

But I cannot find the folder "modules" in \etc\apache2, and alos there is none of "mod_isapi.so".
I use ubuntu 10.04 and apache2.2.14, but I don't know how to install the package "mod_isapi.so".
When I tried to "sudo apt-get install libapache2-mod-isapi", but it is not there. How should I do for continue? (it can already run PHP).
Thanks...

Best regards.
  • -1

#2 Anders Andersen

Anders Andersen

    Advanced Member

  • Members
  • PipPipPipPip
  • 144 posts
  • LocationCopenhagen, Denmark

Posted 31 August 2011 - 08:53 AM

I believe this is only possible on Apache for Windows. I don't think the mod-isapi is available on linux at all.
  • 0

#3 Junior/RO

Junior/RO

    Member

  • Members
  • PipPip
  • 19 posts

Posted 01 September 2011 - 02:09 AM

.dll is a windows dynamic link library... can'be used with linux.
  • 0

#4 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9820 posts

Posted 03 September 2011 - 02:36 PM

Only Apache for Windows can run ISAPI dlls.
  • 0

#5 memoferprof

memoferprof

    Member

  • Members
  • PipPip
  • 26 posts

Posted 13 February 2013 - 05:53 PM

:(  Really??

How can I run my webapp.dll on Centos????

 

Please help me, I am developening a great system, I bealive on UniGUI, please help me!!


  • 0

#6 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9820 posts

Posted 14 February 2013 - 05:46 PM

You may try Apache for Windows + WINE.


  • 0

#7 memoferprof

memoferprof

    Member

  • Members
  • PipPip
  • 26 posts

Posted 14 February 2013 - 11:16 PM

Apache for Windows + WINE??

But, Wine is for LINUX and you are talking about Apache for Windows :huh:

I can't understand it

sorry I am rookie on UniGUI


  • 0

#8 Alberto vesx

Alberto vesx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 466 posts

Posted 15 February 2013 - 12:45 AM

memoferprf, why dont you just use a standalone uniguiapplication + wine in linux?


  • 0

#9 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9820 posts

Posted 15 February 2013 - 03:33 AM

Apache for Windows + WINE??

But, Wine is for LINUX and you are talking about Apache for Windows :huh:

I can't understand it

sorry I am rookie on UniGUI

 

Install apache for windows under WINE in Linux.


  • 0

#10 skepsis

skepsis

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 191 posts
  • LocationGreece

Posted 30 June 2013 - 10:25 PM

Does anybody succeed installing apache for windows with wine under ubuntu linux? or run .exe with wine?


  • 0

#11 skepsis

skepsis

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 191 posts
  • LocationGreece

Posted 02 July 2013 - 09:18 AM

Does anybody succeed installing apache for windows with wine under ubuntu linux? or run .exe with wine?

 

Finally succeded using wine.

wine msiexec -i apache.msi


  • 0

#12 Ronny Encarnacion

Ronny Encarnacion

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 507 posts

Posted 02 July 2013 - 01:07 PM

What kind of Application are you running in apache ?

Does Your Application connect  to a Database if So then what kind of are you using, ADO, DbExpress or other kind

 

Ronny Encarnacion


  • 0

Ronny Encarnacion


#13 skepsis

skepsis

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 191 posts
  • LocationGreece

Posted 02 July 2013 - 05:57 PM

Yes, I use Firebird with Zeos.

 

Actually I am having a little bit of troubleshooting, because my app loads settings for the database connection from ini files and I get some strange errors, that I am not having when I run it as an exe on the same linux server using wine. Perhaps apache rights stuff.

I'll be back when it runs 100%


  • 0

#14 Ronny Encarnacion

Ronny Encarnacion

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 507 posts

Posted 23 July 2013 - 03:23 PM

Do you install The Extjs Too?

Because you need to install de ExtJS in the server in order to run the Unigui Application ?


  • 0

Ronny Encarnacion


#15 skepsis

skepsis

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 191 posts
  • LocationGreece

Posted 25 July 2013 - 06:06 AM

Yes of course. I just copy the folder.


  • 0

#16 Ronny Encarnacion

Ronny Encarnacion

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 507 posts

Posted 25 July 2013 - 12:40 PM

Great !! . Could You send us a Guide how we can do it

 

thanks

 

 

Ronny Encarnacion


  • 0

Ronny Encarnacion


#17 skepsis

skepsis

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 191 posts
  • LocationGreece

Posted 27 July 2013 - 02:18 PM

Well,

 

when you install wine at linux, creates automatically on .wine folder, a folder called drive_c. At this folder I create a folder for my application, copy all the files and folder in there, including ext folder. Works fine.

Moreover I try to install it as an apache dll but as I have mentioned at post #13 I have some issues. I didn't find the time to troubleshoot because I working right now on another project. When I have something newer I will come back!  :) 


  • 0

#18 skepsis

skepsis

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 191 posts
  • LocationGreece

Posted 11 September 2013 - 07:55 AM

Hi, after a lot of effort, I get the error canot load dynamic libraries fbclient.dll etc, because I use zeos and firebird database. I try several things by loading using TZConnection.LibraryLocation but still the errors exist. The strange thing is that when I execute at the same server, same path, the exe file works fine, but the dll using apache....still nothing. :unsure:

If someone can suggest something... I will be pleased.

 


  • 0

#19 skepsis

skepsis

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 191 posts
  • LocationGreece

Posted 11 September 2013 - 08:17 AM

At last it works!!! :D

 

in the LibraryLocation I should state not only the folders, also the filename (eg. /home/userxxxx/FBCLIENT.DLL).
 

and when a new dll file is uploaded, apache needs a restart.

 

So, running a dll in a linux box can be done!!!


  • 0

#20 Ulugbek

Ulugbek

    Advanced Member

  • Banned
  • PipPipPipPip
  • 152 posts
  • LocationTashkent Uzbekistan

Posted 06 February 2014 - 06:35 AM

Can you step by step explain?
 


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users