![]() |
OK
Well, I got to get a bit more familiar with XAMPP today. It seems that when you install XAMPP it puts this on your Mac: Quote:
It puts MYSQL in /Applications/XAMPP/etc So, I move the glpi folder into that directory and it lives there. Now, when I try to run the interactive set up, I still get no dice, but this time its a different error message. Internal server error or misconfiguration Which before I was getting 404. So, it seems that it sees the document there, but it can't load it.... Still trying to figure it out, and I think I like XAMPP, but I should have read all the documentation first. I guess I should have also known better to read all the documentation first, but hey, I am an IT worker, and I only read manuals if I can't figure it out first few tries hahaha. I will post when I figure out exactly whats up with it. Thanks to everyone who helped |
Oy gevalt. So you installed an alphabet soup of programs and now you've got config errors.
Is it a 500 http error? Most common cause of those is misconfigured perl CGI files/folders. Check the execute bits, shebang line for proper path, and that the directory has exec-cgi enabled. |
ah well here is a screen shot
http://img329.imageshack.us/img329/3697/picture1fe9.jpg All that is needed, or should be needed, is load XAMPP, then toss the folder into the xamp/htdocs and be done with it. From my understanding, XAMPP does not alter any default configurations but it just links apache to its web folder as well as the default in OS X. |
I am wiping the mini clean and loading leopard server on there, which has all of that stuff native. I will report back. A guy on the apache forum was baffled why it wouldn't work either.
I am sure I screwed something up, but no one can figure out what... |
update
well leopard server up and running along with everything I need natively installed.
Added the GLPI folder into /Library/WebServer/Documents and when I access http://localhost/glpi it downloads the config file. Do, I need to change the htaccess file in GLPI? I did a chmod 777 to the glpi directory since it does say in the documentation you need fulll access to some files in there. |
htaccess wont do what you are describing. Is this thing written in perl or php? If perl, do files have the execute bit set? If PHP, did you enable the php module? Don't remember if it's on by default or not.
|
It is PHP based, and I think with the new leopard control panel you can go in and manually turn on whatever services you want in the web service and I am almost certain I have PHP running....
Will double check on Monday. Thanks. |
Ok, so can you load a phpinfo file properly? And what happens when you go for a random file directly rather than a directory? In all the examples above you try to get http://localhost/glpi which I'm guessing is a folder. This needs an Apache redirect to http://localhost/glpi/ to even begin to work properly, and another internal function to get http://localhost/glpi/index.php
|
If I try to load the index safari just downloads the file, every time I access the file it just downloads it in text format.....:confused:
|
so http://localhost/glpi/index.php shows you the source code? That's easy - PHP isn't running. Check the httpd.conf file and restart Apache.
|
Well, I took all the #s out of the httpd.conf file to allow for PHP to load and run and I still have the same errors.
I do see in Leopard some things are changed and a lot of this is configured via server admin. I created a new page in server admin and put the path as /Library/WebServer/Documents/glpi and gave it a name, and allowed it permission to run, and turn all options on for it, and listed either html.index or php.index as the default page. I am not sure exactly where to go from here....Why is this so hard lol? |
| All times are GMT -5. The time now is 09:44 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.