Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8084773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:53:51+00:00 2026-06-05T17:53:51+00:00

I installed Apache in it’s default directory under C:\Program Files\Apache Software Foundation\Apache2.2 . During

  • 0

I installed Apache in it’s default directory under C:\Program Files\Apache Software Foundation\Apache2.2. During the installation process, a service Apache2.2 was created.

When using the Apache Monitor application or the Windows Services tool as a user with administrator privileges, I am able to start and stop the service without problem and it serves websites and everything seems to work fine.

For security reasons, I would like to start the httpd server from a user account with limited privileges.

After digging through some documentation and using ProcessMonitor to debug any file and registry access problems, I think I got the permissions for the files and directories right – only a few failed accesses to C:\ and to the EventLog registry entry show up in ProcessMonitor when trying to start the service.

Nevertheless, it fails with the error message

Windows could not start the Apache2.2 on Local Computer. For more information, review the System Event Log. (…)

This event log shows the following message:

(20024)The given path is misformatted or contained invalid characters: Invalid config file path C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf

Since I read that httpd doesn’t accept backslashes (although they seem to work when started by a user with administrator rights), I changed the services’ parameters to use forward-slashes, quoted, unquoted, removed them, made them relative (in order to remove spaces from them) such as ../conf/httpd.conf and other variants, but without success so far.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T17:53:53+00:00Added an answer on June 5, 2026 at 5:53 pm

    The Apache webserver seems to traverse all directories starting from C:\ down the hierarchy until it reaches the directory where it finds httpd.conf. For the question, these directories are:

    C:\
    C:\Program Files\
    C:\Program Files\Apache Software Foundation\
    C:\Program Files\Apache Software Foundation\Apache2.2\
    C:\Program Files\Apache Software Foundation\Apache2.2\conf\
    

    To solve the problem, all these directories need to have the List Folder Contents privilege set for the user account under which httpd is executed.

    The error messsage it gives in the event log is therefore misleading, the path is correct.

    To avoid having to change the permission settings for all these folders, I would recommend installing Apache in a direct subdirectory of C:\, such as C:\Apache2.2\.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a windows XP machine, installed apache at C:\Program Files\Apache Software Foundation\Apache2.2 I
I have a joomla setup in my /home/joomla directory. I installed both Apache and
I have installed Apache Tomcat 6 as a Service in a Windows XP computer
My server has both Subversion and Apache installed, and the Apache web directory is
I just installed Apache 2.2.11 and downloaded the zip for PHP5.2.9-2 I uncommented extension=php_pdo_pgsql.dll
I have installed Apache and Subversion on Windows. My config is: <Location /svn> DAV
I have installed apache on my server however I can not browse my website
I've installed Apache 2.2 on a Windows machine for use in PHP local coding
I have installed apache-tomcat-6.0.35-windows-x86 in my system. How can I configure it and set
I have the following version being installed: Apache::SmallProf - 0.09 Apache::Registry - 2.01 Devel::SmallProf

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.