|
-
Jun 16th, 2002, 03:37 PM
#1
Thread Starter
Stuck in the 80s
[Resolved] One more Apache ?
Is there a way to have the server running with having the Dos Prompt window open all the time?
Last edited by The Hobo; Jul 1st, 2002 at 11:26 PM.
-
Jun 16th, 2002, 03:47 PM
#2
Member
Do you mean without? Run it as a service then.
-
Jun 16th, 2002, 03:50 PM
#3
PowerPoster
I don't have a DOS window. It's running as a service on my computer. That's how it got setup by default. I just have a little feather in my system tray.
-
Jun 16th, 2002, 03:52 PM
#4
Thread Starter
Stuck in the 80s
Originally posted by filburt1
Do you mean without? Run it as a service then.
How?
-
Jun 16th, 2002, 04:11 PM
#5
what os are you using hobo?
-
Jun 16th, 2002, 04:17 PM
#6
Thread Starter
Stuck in the 80s
-
Jun 16th, 2002, 04:25 PM
#7
I'm going to say not because you can only have it as a console on win2000 and XP, you just don't get the option at install to choose console. on 95/98/me
-
Jun 16th, 2002, 04:28 PM
#8
Member
In the install there's an option to run as a service but services are crap in 9x/Me (I'm running 98 on my work lappy with Apache and it's horrible). Reinstalling doesn't overwrite your httpd.conf so that would be the easiest. The command line for installing the service is something along the lines of apache -k install or apache -k or apache --install...
-
Jun 16th, 2002, 05:28 PM
#9
Thread Starter
Stuck in the 80s
Originally posted by scoutt
I'm going to say not because you can only have it as a console on win2000 and XP, you just don't get the option at install to choose console. on 95/98/me
If I change the word console to service, I understand your post.
-
Jun 16th, 2002, 09:25 PM
#10
yeah sorry, I always get those mixed up.
-
Jun 18th, 2002, 10:21 AM
#11
Thread Starter
Stuck in the 80s
I still knew what you mean
-
Jun 20th, 2002, 07:48 AM
#12
I used to run Apache on Win98 a few years ago. And it is (sort of) possible to run it as an invisible service...
First off Apache will always run in a console window (DOS Prompt), however you can make it invisible...white yourself a small VB app that launches Apache with the Shell command...
Code:
Shell "Path\To\Apache.exe", vbHide
Now, you can have Windows 9X (ME) launch it like a service... open up regedit then navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices
Add yourself an entry with a path matching where you compiled the above VB app.
Reboot and...(fingers crossed) voila! You should have yourself a little daemon listening to port 80, but where is it!?!
-
Jun 20th, 2002, 07:53 AM
#13
PS...
I had to do that registry path from memory (it doesn't exist in XP), but I think it should be correct.
If it's not there put it in:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
or create a shortcut in the Startup folder and accept that you'll need be logged in for it to run.
-
Jun 20th, 2002, 09:38 AM
#14
Thread Starter
Stuck in the 80s
I don't want it to run everytime I start windows up, but I'll steal that "create an app to start it" idea from you. Thanks!
-
Jun 20th, 2002, 10:04 AM
#15
No probs. That was just if you wanted it to startup just like a true service would.
-
Jun 20th, 2002, 10:07 AM
#16
actually that isn't a bad idea. can have one exe open apache and mysql, good job matthewralston
-
Jun 20th, 2002, 10:09 AM
#17
-
Jul 1st, 2002, 10:24 PM
#18
Junior Member
here is how without all that junk...
apache.exe -k install
it will install as a service, and when your computer boots you will see the prompt really quick and it will dissapear
-
Jul 1st, 2002, 11:06 PM
#19
Thread Starter
Stuck in the 80s
Originally posted by Iamryan2002
here is how without all that junk...
apache.exe -k install
it will install as a service, and when your computer boots you will see the prompt really quick and it will dissapear
I've already stated that I don't want it to run everytime my computer does. But thanks for not reading all the posts and taking a stab at it anyways.
-
Jul 2nd, 2002, 12:50 PM
#20
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|