xampp 1.7.2 + htdocs at other disk

Problems with the Windows version of XAMPP, questions, comments, and anything related.

xampp 1.7.2 + htdocs at other disk

Postby DeVrije » 10. December 2009 13:29

XAMPP 1.7.2 does indeed work fine EXCEPT when the map 'C:/xampp/htdocs' has been defined in the file 'httpd.conf' as 'D:/Server'. I have copied the map 'C:/xampp/htdocs/xampp' to the map 'D:/Server/xampp'. In this case some php files in the latter map uses the files '../../install/xampp_language.txt' which should be '/xampp/xampp_language.txt'.

Should I have to adapt all files in the latter map which uses the file '../../xxx' (where xxx = any filename)? If yes, who should they be sent to for the fix? If no, who will do so? And when could it be available?
DeVrije
 
Posts: 37
Joined: 26. April 2006 19:34

Re: xampp 1.7.2 + htdocs at other disk

Postby Wiedmann » 10. December 2009 13:35

have copied the map 'C:/xampp/htdocs/xampp' to the map 'D:/Server/xampp'.

There is no need to do this.

EXCEPT when the map 'C:/xampp/htdocs' has been defined in the file 'httpd.conf' as 'D:/Server'.

I guess you are meaning, that you have set DocumentRoot to "D:/Server"?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: xampp 1.7.2 + htdocs at other disk

Postby DeVrije » 10. December 2009 13:49

Wiedmann wrote:
have copied the map 'C:/xampp/htdocs/xampp' to the map 'D:/Server/xampp'.

There is no need to do this.

EXCEPT when the map 'C:/xampp/htdocs' has been defined in the file 'httpd.conf' as 'D:/Server'.

I guess you are meaning, that you have set DocumentRoot to "D:/Server"?


Yes, indeed I have adapted only two lines:
1: DocumentRoot "D:/Server"
2: <Directory "D:/Server">

Hence I have to copy the ebovementioned map, else it will do not work!
DeVrije
 
Posts: 37
Joined: 26. April 2006 19:34

Re: xampp 1.7.2 + htdocs at other disk

Postby Wiedmann » 10. December 2009 14:15

Hence I have to copy the ebovementioned map, else it will do not work!

I guess, someone who changes the DocumentRoot, doesn't need simple examples anymore ;-) (and that's all in this directory)

If you need this examples, just add an Alias.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: xampp 1.7.2 + htdocs at other disk

Postby DeVrije » 10. December 2009 14:32

I guess, someone who changes the DocumentRoot, doesn't need simple examples anymore ;-) (and that's all in this directory)

If you need this examples, just add an Alias.[/quote]

Hence I have copied the map 'C:/xampp/htdocs/xampp' to the map 'D:/Server/xampp', but all programs within that map are not flexible. I have to adapt about 8 files in order to able use the primary XAMPP welcome page and copy about 3 files from the map 'C:/xampp/install' to 'D::/Server/xampp' as well.

Should I send those files to you for the distribution (after your check of course!)?
DeVrije
 
Posts: 37
Joined: 26. April 2006 19:34

Re: xampp 1.7.2 + htdocs at other disk

Postby Wiedmann » 10. December 2009 15:39

Hence I have copied the map 'C:/xampp/htdocs/xampp' to the map 'D:/Server/xampp',

You remember?
Wiedmann wrote:There is no need to do this.

and:
If you need this examples, just add an Alias.


So, instead of copying this directory, add this line to your "httpd.conf":
Code: Select all
Alias /xampp "C:/xampp/htdocs/xampp/"
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: xampp 1.7.2 + htdocs at other disk

Postby DeVrije » 10. December 2009 16:16

Wow, what a simple solution! Thank you very much for your excellent help!
DeVrije
 
Posts: 37
Joined: 26. April 2006 19:34


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 141 guests