logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache Server root Directory
Author
sunilpandya



Joined: 08 Sep 2016
Posts: 12
Location: India

PostPosted: Thu 15 Jun '17 7:10    Post subject: Apache Server root Directory Reply with quote

I have downloaded Apache 2.4.25, to install as windows 10 service i have used command c:/Apache/Apache24/bin httpd.exe-k install.

It shows 'Apache2.4 Service is Successfully Installed'
Reported Error Must be corrected before Service Can be Started.
httpd.exe Syntax error 'C:/Apache/Apache24 /conf/httd.conf
Serveroor Must be A Valid Directory.
I have changed as C:/Apache/Apache24 as Server root from C:/Apache24

I then issued command Apache/Apache24/bin httpd.exe -k start, but it shows again the same error Server root must be Valid Directory.

So what should be server root directory Actually?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3056
Location: Hilversum, NL, EU

PostPosted: Thu 15 Jun '17 10:43    Post subject: Reply with quote

Looks you installed C:/Apache/Apache24, default install is C:/Apache24 .

First delete the servive with c:/Apache/Apache24/bin httpd.exe-k uninstall and then c:/Apache24/bin httpd.exe-k install.
Back to top
sunilpandya



Joined: 08 Sep 2016
Posts: 12
Location: India

PostPosted: Thu 15 Jun '17 11:18    Post subject: Thanks for Reply Reply with quote

Thanks for Reply, I have done the same but again the error is same that is"Syntax error C:/Apache/Apache24/conf/httpd.conf Server root Must be a valid directory

Sunil Pandya
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3056
Location: Hilversum, NL, EU

PostPosted: Thu 15 Jun '17 11:48    Post subject: Reply with quote

I see still you have somewhere C:/Apache/Apache24/

So start clean and install again in c:/Apache24
Back to top
sunilpandya



Joined: 08 Sep 2016
Posts: 12
Location: India

PostPosted: Fri 16 Jun '17 5:15    Post subject: Apache Server root Directory Reply with quote

Thanks I have re-installed and issue is solved.

Thanks again

Sunil Pandya
Back to top


Reply to topic   Topic: Apache Server root Directory View previous topic :: View next topic
Post new topic   Forum Index -> Apache