htaccess help pls.

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

htaccess help pls.

Postby JahnHauser » 12. July 2010 18:17

Hi,

I'm thinking moving for development over to Macs from Windows XP.

So far I got xampp installed. Working fine.


In order that my stuff is running I need the .htacces file working in htdocs.
Trying like (simple).... and not getting it working
-----------------------------------------------
php_value include_path ".;/Applications/XAMPP/xampfiles/htdocs/_lib/_base"
-----------------------------------------------



need to include files in php code from /_lib/_base/
e.g.: require_once("funcs.php");


Any help, hint is highly appreciated
Jahn
JahnHauser
 
Posts: 7
Joined: 12. July 2010 18:01

Re: htaccess help pls.

Postby JahnHauser » 14. July 2010 19:25

Mhh, leider keine Antwort :( ... unfortunately no hints yet.

simple example....

dir in root (htdocs) /test


How is the syntax in the htaccess file????

php_value include_path ":/xampfiles/htdocs/test" --- does not work.

Any help ..very appreciated !!!
JAHN
JahnHauser
 
Posts: 7
Joined: 12. July 2010 18:01

Re: htaccess help pls.

Postby JahnHauser » 14. July 2010 21:14

ok... got that corrected.....

the path should be -> php_value include_path=".:/Applications/XAMPP/htdocs/test"

But now the next hurdle :(


I am getting an:

Server error!
Error 500

Anybody out there has an idea what needs to be done?
JahnHauser
 
Posts: 7
Joined: 12. July 2010 18:01

Re: htaccess help pls.

Postby JahnHauser » 14. July 2010 23:59

silly me
NOT
php_value include_path=".:/Applications/XAMPP/htdocs/test"

correct
php_value include_path ".:/Applications/XAMPP/htdocs/test"

now so far working ..... ready to leave MS Windows Boxes behind :)
JahnHauser
 
Posts: 7
Joined: 12. July 2010 18:01


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 33 guests