+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
Windows Thread, Apache on windows in Technical; Anyone use this kind of setup? Im trying to get the apache service to start but it keeps terminating. I ...
  1. #1
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Apache on windows

    Anyone use this kind of setup? Im trying to get the apache service to start but it keeps terminating. I happens when i include the httpd-ssl.conf file and i cant see anything wrong with it. Even more annoying is that i cant get any errors from it to for me to persue, any idea?

  2. #2
    Midget's Avatar
    Join Date
    Oct 2006
    Location
    In a Server Room cutting through a forest of Cat5e
    Posts
    1,298
    Thank Post
    5
    Thanked 59 Times in 49 Posts
    Rep Power
    39

    Re: Apache on windows

    I use AppServ for my basic AMP setup on my machines.

  3. #3

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324

    Re: Apache on windows

    I use the WAMP package.

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Apache on windows

    You need to locate the apache error log file.

  5. #5
    Guest

    Re: Apache on windows

    Use http://apache2triad.net here. Have you go anything else running on the same port? IIS for example?

  6. #6
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Apache on windows

    Quote Originally Posted by Geoff
    You need to locate the apache error log file.
    Well heres the funny thing, as far as i know the logs are in logs and the error.log either doesnt log anything or says:

    Code:
    C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    Im guessing this just means it terminated before.

    @Sysman_MK: Nope, no iis here just apache.

    Ive run:

    Code:
    httpd -k start -n Apache2.2
    This doesnt come up with any errors but it doesnt start either.

  7. #7
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Apache on windows

    Ok i now know what causes the service to terminate but im not entirely sure what to do. In my httpd-ssl.conf ive turned SSLEngine on and its is this setting that crashes the service. Do i have a faulty mod? or something screwy with my selfsigned certificates?

  8. #8

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Apache on windows

    What happens when you manually run the apache2 executable from a command prompt window?

  9. #9

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,051
    Thank Post
    209
    Thanked 427 Times in 307 Posts
    Rep Power
    144

    Re: Apache on windows

    I use apache on windows server for my intranet server, I installed XAMPP which installs apache, mySQL, PHP and filezilla (and a few other bits) all in one package, and sets it all up for you. by far the easiest way I've found of setting up an apache web server.

    Mike.

  10. #10
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Apache on windows

    @Geoff: running httpd from the command prompt doesnt throw up any errors but does not start the service either.

    I would love to install another package but it was already setup when i got to it.

  11. #11
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Apache on windows

    Woohoo... finally got it working, I needed to replace the executables in the bin folder for ones that will work.

  12. #12
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Apache on windows

    Ok ive just noticed something when i browse to the site ive setup. In IE when you go to an ssl website you get a lock icon appear at the bottom but when i go to my site it does not show. Is this common behaviour?

  13. #13

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Apache on windows

    Are you using a self signed certificate?

  14. #14
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Apache on windows

    No it a request made using openssl and using the request create a certificate from my ca server.

  15. #15

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Apache on windows

    Are you sure you're actually running SSL on 443?

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing From II6 > Apache
    By FN-GM in forum Web Development
    Replies: 6
    Last Post: 2nd December 2007, 01:00 AM
  2. Apache on Windows with SSL.
    By maniac in forum How do you do....it?
    Replies: 4
    Last Post: 20th November 2007, 04:07 PM
  3. Apache 2.2 and mod_perl
    By apeo in forum Web Development
    Replies: 3
    Last Post: 6th November 2007, 10:40 AM
  4. Apache Question.
    By in forum Web Development
    Replies: 6
    Last Post: 27th April 2006, 09:29 AM
  5. Apache + IIS On the same box?
    By in forum Windows
    Replies: 25
    Last Post: 7th March 2006, 03:12 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •