Ik zit met een probleempje.
Ik heb apache geinstalleerd en probeer nu mijn worldclient webmail te integreren.
op de volgende pagina heb ik onderstaand lap text gevonden http://www.mdaemontools.com/view_faq.php?faqId=2#q19
hierin staat uitgelegd hoe ik worldclient draaiend kan krijgen onder apache (windows 2k)
ik heb het volgende gedaan:
1> stap 4,
AddHandler isapi-isa .dll
2> stap 5 (allow access)
<Directory "C:/MDAEMON/WorldClient/HTML">
Options ExecCGI
AllowOverride? None
Order allow,deny
Allow from all
</Directory>
Wanneer ik nu de test config van apache gebruik geeft ie geen errors weer dus ik neem aan dat de syntax goed is.
nu heb wil ik dus een link op mijn site die wijst naar de worldclient login pagina maar ik krijg het met geen mogelijkhed voor elkaar.
Kijkend naar 6a snap ik het allemaal niet meer zo.
de config van apache is zo goed als basic, alleen root path is verandert en .htaccess ingebouwd.
mijn vraag dus als volgt.
1> aannemende dat worldclient.dll in bovenstaand directory zit, klopt de config zoals ik boven heb beschreven? if not... wat mankeert er aan.
2> hoe krijg ik in godesnaam voorelkaar dat ik vanaf daar mijn worldclient gestart krijg?, mind you, in IIS werkt ie prima!
txs for the help!
Q: How do I run WorldClient as an Apache 2.x webserver module? A: 1) Download and Install Apache 2.0.46 (I've used the default Installation
so everything ends up in c:\program files\apache group\apache2\)
2) Try to start Apache from the commandline and look if it is working
(http:\\127.0.0.1\)
3) Locate your server configuration file called http.conf (Should be in
c:\program files\apache group\apache2\conf) and open it in NotePad
(Text-only-editors please )
4) First we have to assign .dll to an isapi. Locate a line called
"AddHandler type-map var". After this line insert: "AddHandler isapi-isa
.dll".
5) Now we have to allow access to the mdaemon Directory, with ExecCGI
Privileg. Don't use backslashes, use slashes for Paths! Insert anywhere:
Options ExecCGI
AllowOverride? None
Order allow,deny
Allow from all
6a) If your only purpose is serving Worldclient then we simply could change
the DocumentRoot? from "C:/Program Files/Apache Group/Apache2/htdocs" to
"c:/Mdaemon/WorldClient/HTML". Now if someone gets http://127.0.0.1 we will
see a "Access Denied" error. That's ok, cause we only allowed ExecCGI in
our Options Statement. To jump directly to Worldclient (and worldclient is
handled by ExecCGI) we catch every Request getting the Root Directory / and
redirect them to Worldclient. Add the following Line:
RedirectMatch? /$ http://127.0.0.1/WorldClient.dll?View=Main
(note: If you want to browse your Mdaemon Directory you have to write
"Options ExecCGI Indexes". Don't click on worldclient.dll, it will crash
the apache-thread handling worldclient.dll. You should remove Indexes on
real servers)
We are done... Start apache from the command line. If anything went wrong,
read the error.log file in c:\program files\apache group\apache2\logs\ and
the application eventlog carefully. The logs are very detailed.
6b) If you are using Virtual Hosts it is nearly the same. Somewhere you
should have (with different IP of course):
NameVirtualHost 212.180.180.180
After this statement you're able to define your VirtualHosts or
VirtualWebservers or whatever you call them (Remember, they only work if
you call them with a valid domain name*, here
www.my-personal-mdaemon-webserver.com):
ServerAdmin? postmaster@my-personal-mdaemon-webserver.com
DocumentRoot? c:/Mdaemon/WorldClient/HTML
RedirectMatch? /$
http://www.my-personal-md...WorldClient.dll?View=Main
ServerName? www.my-personal-mdaemon-webserver.com
ErrorLog? c:/logs/www.my-personal-mdaemon-webserver.com-error.log
CustomLog? c:/logs/www.my-personal-mdaemon-webserver.com-access.log combined
Ik heb apache geinstalleerd en probeer nu mijn worldclient webmail te integreren.
op de volgende pagina heb ik onderstaand lap text gevonden http://www.mdaemontools.com/view_faq.php?faqId=2#q19
hierin staat uitgelegd hoe ik worldclient draaiend kan krijgen onder apache (windows 2k)
ik heb het volgende gedaan:
1> stap 4,
AddHandler isapi-isa .dll
2> stap 5 (allow access)
<Directory "C:/MDAEMON/WorldClient/HTML">
Options ExecCGI
AllowOverride? None
Order allow,deny
Allow from all
</Directory>
Wanneer ik nu de test config van apache gebruik geeft ie geen errors weer dus ik neem aan dat de syntax goed is.
nu heb wil ik dus een link op mijn site die wijst naar de worldclient login pagina maar ik krijg het met geen mogelijkhed voor elkaar.
Kijkend naar 6a snap ik het allemaal niet meer zo.
de config van apache is zo goed als basic, alleen root path is verandert en .htaccess ingebouwd.
mijn vraag dus als volgt.
1> aannemende dat worldclient.dll in bovenstaand directory zit, klopt de config zoals ik boven heb beschreven? if not... wat mankeert er aan.
2> hoe krijg ik in godesnaam voorelkaar dat ik vanaf daar mijn worldclient gestart krijg?, mind you, in IIS werkt ie prima!
txs for the help!
Q: How do I run WorldClient as an Apache 2.x webserver module? A: 1) Download and Install Apache 2.0.46 (I've used the default Installation
so everything ends up in c:\program files\apache group\apache2\)
2) Try to start Apache from the commandline and look if it is working
(http:\\127.0.0.1\)
3) Locate your server configuration file called http.conf (Should be in
c:\program files\apache group\apache2\conf) and open it in NotePad
(Text-only-editors please )
4) First we have to assign .dll to an isapi. Locate a line called
"AddHandler type-map var". After this line insert: "AddHandler isapi-isa
.dll".
5) Now we have to allow access to the mdaemon Directory, with ExecCGI
Privileg. Don't use backslashes, use slashes for Paths! Insert anywhere:
Options ExecCGI
AllowOverride? None
Order allow,deny
Allow from all
6a) If your only purpose is serving Worldclient then we simply could change
the DocumentRoot? from "C:/Program Files/Apache Group/Apache2/htdocs" to
"c:/Mdaemon/WorldClient/HTML". Now if someone gets http://127.0.0.1 we will
see a "Access Denied" error. That's ok, cause we only allowed ExecCGI in
our Options Statement. To jump directly to Worldclient (and worldclient is
handled by ExecCGI) we catch every Request getting the Root Directory / and
redirect them to Worldclient. Add the following Line:
RedirectMatch? /$ http://127.0.0.1/WorldClient.dll?View=Main
(note: If you want to browse your Mdaemon Directory you have to write
"Options ExecCGI Indexes". Don't click on worldclient.dll, it will crash
the apache-thread handling worldclient.dll. You should remove Indexes on
real servers)
We are done... Start apache from the command line. If anything went wrong,
read the error.log file in c:\program files\apache group\apache2\logs\ and
the application eventlog carefully. The logs are very detailed.
6b) If you are using Virtual Hosts it is nearly the same. Somewhere you
should have (with different IP of course):
NameVirtualHost 212.180.180.180
After this statement you're able to define your VirtualHosts or
VirtualWebservers or whatever you call them (Remember, they only work if
you call them with a valid domain name*, here
www.my-personal-mdaemon-webserver.com):
ServerAdmin? postmaster@my-personal-mdaemon-webserver.com
DocumentRoot? c:/Mdaemon/WorldClient/HTML
RedirectMatch? /$
http://www.my-personal-md...WorldClient.dll?View=Main
ServerName? www.my-personal-mdaemon-webserver.com
ErrorLog? c:/logs/www.my-personal-mdaemon-webserver.com-error.log
CustomLog? c:/logs/www.my-personal-mdaemon-webserver.com-access.log combined