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: DocumentRoot must be directory
Author
Krischu



Joined: 23 Oct 2009
Posts: 25

PostPosted: Mon 02 Jun '14 12:01    Post subject: DocumentRoot must be directory Reply with quote

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

PostPosted: Mon 02 Jun '14 12:10    Post subject: Reply with quote

Programme is just an alias. I assume you use an german system Wink
even the C:\Benutzer is an alias to C:\Users

That is a bit tricky.

In doubt open cmd.exe
Code:

cd \
dir
Back to top
Krischu



Joined: 23 Oct 2009
Posts: 25

PostPosted: Tue 03 Jun '14 10:51    Post subject: Reply with quote

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

PostPosted: Wed 04 Jun '14 15:17    Post subject: Reply with quote

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

PostPosted: Wed 04 Jun '14 15:51    Post subject: Reply with quote

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


Reply to topic   Topic: DocumentRoot must be directory View previous topic :: View next topic
Post new topic   Forum Index -> Apache