trying to run GLPI on OS X

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

trying to run GLPI on OS X

Postby tlarkin » 27. March 2008 21:33

I am trying to run GLPI on OS X and am running into some issues. I downloaded XAMPP because it was recommended to me because of its ease of usage. So far I like the design of it, but am failing to grasp a few things.

In OS X by default, Apache's config page is /etc/httpd/httpd.conf, but if XAMPP is installed does it alter this file?

Apache's default web doc folder is /Library/WebServer/Documnets, but XAMPP's is /Applications/XAMPP/htdocs

I untarred the glpi folder into /Applications/XAMP/htdocs and applied permission changes to the folder. Then I tried to launch the interactive web based set up by accessing http://localhost/glpi and I get an error message of internal server not found or configuration error

There is no documentation on how to load this on OS X, and I am kind of doing a trial by fire. Any pointers and/or suggestions or documentation on how to set it up would be extremely greatly appreciated.

Here is GLPI's official project page, its a MYSQL ticketing system that I want to use to inventory the 6,000 machines I support at work. I want a work order ticket system that I can use to track transfers, repairs, etc etc

http://glpi-project.org/

Thanks in advance for any help or suggestions!
tlarkin
 
Posts: 11
Joined: 27. March 2008 21:28

Re: trying to run GLPI on OS X

Postby kleinweby » 28. March 2008 06:37

hello,

tlarkin wrote:In OS X by default, Apache's config page is /etc/httpd/httpd.conf, but if XAMPP is installed does it alter this file?

No, XAMPP does only touch files in /Applications/xampp (and mybe in /tmp)

tlarkin wrote:Apache's default web doc folder is /Library/WebServer/Documnets, but XAMPP's is /Applications/XAMPP/htdocs

Right...

tlarkin wrote:I untarred the glpi folder into /Applications/XAMP/htdocs and applied permission changes to the folder. Then I tried to launch the interactive web based set up by accessing http://localhost/glpi and I get an error message of internal server not found or configuration error

I have never heard this error ;) Can you post die exact error message?

kleinweby
User avatar
kleinweby
AF Moderator
 
Posts: 393
Joined: 03. August 2005 19:52
Location: Magdeburg
Operating System: Mac OS X 10.7

Postby tlarkin » 28. March 2008 14:57

tlarkin
 
Posts: 11
Joined: 27. March 2008 21:28

Postby tlarkin » 28. March 2008 14:58

[quote="tlarkin"]Here is a screen shot

Image[/img]
tlarkin
 
Posts: 11
Joined: 27. March 2008 21:28

Postby kleinweby » 28. March 2008 14:59

ok,

then look in /Applications/xampp/logs/error.log. There is the error message that we want.

kleinweby
User avatar
kleinweby
AF Moderator
 
Posts: 393
Joined: 03. August 2005 19:52
Location: Magdeburg
Operating System: Mac OS X 10.7

Postby tlarkin » 28. March 2008 16:00

Code: Select all
testmini:~ admin$ cat /Applications/xampp/logs/error_log
[Thu Mar 27 14:58:42 2008] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Mar 27 14:58:42 2008] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Mar 27 14:58:42 2008] [notice] Digest: generating secret for digest authentication ...
[Thu Mar 27 14:58:42 2008] [notice] Digest: done
[Thu Mar 27 14:58:42 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8e DAV/2 PHP/5.2.5 configured -- resuming normal operations
[Thu Mar 27 15:03:40 2008] [alert] [client ::1] /Applications/xampp/xamppfiles/htdocs/glpi/.htaccess: ForceType not allowed here
[Thu Mar 27 15:03:40 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/favicon.ico
[Thu Mar 27 15:03:45 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/favicon.ico
[Thu Mar 27 15:03:45 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/favicon.ico
[Thu Mar 27 15:03:47 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/favicon.ico
[Thu Mar 27 15:09:33 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/favicon.ico
[Thu Mar 27 15:11:43 2008] [alert] [client ::1] /Applications/xampp/xamppfiles/htdocs/glpi/.htaccess: ForceType not allowed here
[Thu Mar 27 15:11:43 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/favicon.ico
[Thu Mar 27 15:19:43 2008] [alert] [client ::1] /Applications/xampp/xamppfiles/htdocs/glpi/.htaccess: ForceType not allowed here
[Thu Mar 27 15:19:43 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/favicon.ico
[Thu Mar 27 15:19:48 2008] [alert] [client ::1] /Applications/xampp/xamppfiles/htdocs/glpi/.htaccess: ForceType not allowed here
[Thu Mar 27 15:19:48 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/favicon.ico
[Thu Mar 27 15:24:18 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/htdocs
[Thu Mar 27 15:24:18 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/favicon.ico
[Fri Mar 28 08:29:39 2008] [alert] [client ::1] /Applications/xampp/xamppfiles/htdocs/glpi/.htaccess: ForceType not allowed here
[Fri Mar 28 08:29:39 2008] [error] [client ::1] File does not exist: /Applications/xampp/xamppfiles/htdocs/favicon.ico
testmini:~ admin$


That is the whole error log
tlarkin
 
Posts: 11
Joined: 27. March 2008 21:28

Postby kleinweby » 28. March 2008 16:05

ok,

Open the httpd.conf in /Applicatioins/xampp/etc/ and change all AllowOverride to All.

kleinweby
User avatar
kleinweby
AF Moderator
 
Posts: 393
Joined: 03. August 2005 19:52
Location: Magdeburg
Operating System: Mac OS X 10.7

Postby tlarkin » 28. March 2008 16:23

changed the overrideallow to all, and no dice....

I am thinking I may just install leopard since it has all the bits xampp installs native, I think that since I installed that huge package there are config issues.

What else can I try?

Thanks again for your help I really appreciate it.
tlarkin
 
Posts: 11
Joined: 27. March 2008 21:28

Postby kleinweby » 28. March 2008 16:25

do you have restart Apache?
User avatar
kleinweby
AF Moderator
 
Posts: 393
Joined: 03. August 2005 19:52
Location: Magdeburg
Operating System: Mac OS X 10.7

Postby tlarkin » 28. March 2008 16:26

Yes, I restarted apache...

I am just going to reboot the freaking machine and see what that does
tlarkin
 
Posts: 11
Joined: 27. March 2008 21:28

Postby kleinweby » 28. March 2008 16:28

ok, then rename the .htaccess file in your glpi folder.
User avatar
kleinweby
AF Moderator
 
Posts: 393
Joined: 03. August 2005 19:52
Location: Magdeburg
Operating System: Mac OS X 10.7

Postby tlarkin » 28. March 2008 16:42

I do not see a file named htaccess in GLPI...
tlarkin
 
Posts: 11
Joined: 27. March 2008 21:28

Postby kleinweby » 28. March 2008 16:44

Files starting with an dot are hidden by the finder. You have to use the Terminal

Code: Select all
mv /Applications/xampp/xamppfiles/htdocs/glpi/.htaccess /Applications/xampp/xamppfiles/htdocs/glpi/_htaccess


kleinweby
User avatar
kleinweby
AF Moderator
 
Posts: 393
Joined: 03. August 2005 19:52
Location: Magdeburg
Operating System: Mac OS X 10.7

Postby tlarkin » 28. March 2008 16:47

Oh yeah, duh I knew that, I didn't even take the dot into consideration....

HAHAHA, still TOO early in the morning.
tlarkin
 
Posts: 11
Joined: 27. March 2008 21:28

Postby tlarkin » 28. March 2008 17:20

okay, renamed file, still same error message
tlarkin
 
Posts: 11
Joined: 27. March 2008 21:28

Next

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 2 guests