Mobile app version of vmapp.org
Login or Join
Harper822

: Test your config with this commandline: httpd -t This will tell any error in config files. Maybe you receive this error: ServerName takes one argument, the Host name and port of the server.

@Harper822

Test your config with this commandline:

httpd -t

This will tell any error in config files.

Maybe you receive this error: ServerName takes one argument, the Host name and port of the server.

Try to configure it like this:

ServerName arterieur.localhost

and in the hosts file add this:

127.0.0.1 arterieur.localhost

This way is configured the way ServerName has to be configured.

If this does not work, use ServerAlias instead of ServerName.

And if this does not work, check that your Apache service is not disabled: Open services.msc and check the Apache service, make sure it's not disabled. It should be set to Manual or Automatic start-up, depending on your environment.

EDIT: Now talking with questioner we reached an answer:

The exact problem was that running httpd by service, the process don't had permissions to write to the J: drive, but when running it in commandline everything worked fine.

As @Jori said, services.exe runs under SYSTEM user, so seems that running httpd by service inherits services.exe rights, so he changed J: drive permissions for user SYSTEM and then worked fine.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Harper822

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme