How does the xampp controll really work? Need details

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How does the xampp controll really work? Need details

Postby Zydeco » 18. January 2006 13:47

Why i'm asking is because i'm trying to run xampp under a strict user account enviroment. Thought i'd write a small guide on securing xamp, apache and mysql after i get this together.

Anyway, i have a xamp installation running under a user account. User accounts are limited and can't run or manage services, install or run legacy applications so it's a requirement for running a webserver "live". Like you'd do it on linux basicly.

Now i've edited the acl rights on the services that xampp creates (apache2, mysql and filezilla) so the user account has permission to start/stop/restart them from the windows service manager (services.msc) or with net.

But i'd also like to use the xampp control panel for people who like that. But i'm not exactly sure how it start/stops the xampp services. It doesn't use net because that works like it should from the command promt.

The error it's getting is "Error: -1".
Could some developer give me some information how the xampp control panel goes about starting and stopping it's services?

Thanks
Zydeco
 
Posts: 1
Joined: 18. January 2006 13:35

Postby ntsmarkv » 18. January 2006 21:49

Of cource this is done with VB. and the code is called with a shell command

Starts Apache
shell(C:\xampp\xampp\apache_start.bat)

Stops Apache
shell(C:\xampp\xampp\apache_stop.bat)


call them in button format if you need more direct email me at markv@newtechstudios.com

I'll be happy to show you more examples
ntsmarkv
 
Posts: 32
Joined: 22. October 2005 21:38


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 113 guests