Author |
|
Krischu
Joined: 23 Oct 2009 Posts: 25
|
Posted: Mon 02 Jun '14 12:01 Post subject: DocumentRoot must be directory |
|
|
In httpd.conf I have
DocumentRoot "C:/Programme/Apache_Group/Tomcat-8.0.5/webapps/ROOT/"
2.4.9 is complaining about this having to be a directory. It is definiteley. I can browse it with explorer.
When I change this to "C:/Program Files/..." it works.
Why is that? In the stock Win32 server I downloaded from the apache site I did not have to make this change.
--
Christoph |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 02 Jun '14 12:10 Post subject: |
|
|
Programme is just an alias. I assume you use an german system
even the C:\Benutzer is an alias to C:\Users
That is a bit tricky.
In doubt open cmd.exe
|
|
Back to top |
|
Krischu
Joined: 23 Oct 2009 Posts: 25
|
Posted: Tue 03 Jun '14 10:51 Post subject: |
|
|
Yes I know these are aliases but my question was why it works on the stock Apache Win32 server binary from the Apache site.
--
Christoph |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 04 Jun '14 15:17 Post subject: |
|
|
Well apache org offers only apache 2.2 which is different to 2.4 from the source code itself. Also apache org uses a very old compiler which is also a lot different to the compiler that apache lounge uses.
In some cases I had to use the old 8.3 paths to get it working. |
|
Back to top |
|
Krischu
Joined: 23 Oct 2009 Posts: 25
|
Posted: Wed 04 Jun '14 15:51 Post subject: |
|
|
James Blond wrote: | Well apache org offers only apache 2.2 which is different to 2.4 from the source code itself. Also apache org uses a very old compiler which is also a lot different to the compiler that apache lounge uses.
In some cases I had to use the old 8.3 paths to get it working. |
Thanks. It could also be that in my case the cause is a different one, since the directory didn't exist.
C:\Program Files\Apache_Group\... existed
but
C:\Programme
existed but was empty.
Strange these "links". On my Windows 7 notebook for example I have two directories named C:\Programme
(!)
--
Christoph |
|
Back to top |
|