Need a bit of help finding correct DocumentRoot for snipeit

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

Need a bit of help finding correct DocumentRoot for snipeit

Postby JIMP647 » 28. October 2021 21:08

Hello you cool people, I'm struggling now for 4 days to set up SnipeIT software on my home network. I have changed DocumentRoot all folders it's said this function. I have rebooted apache 5 times. The local IP I'm using for apache is http://172.16.0.102 (will be used only for home inventory) loading it up straight away but it is not working. What am I doing wrong guys? :( I have attached my full apache2 folder, I'm out of ideas what else to change. maybe someone is more advanced in this stuff and could help me out. :(

I have archived the required installer(rar) my whole apache2 folder etc/apache2/ http://uppit.com/bsox4srvyxa0

Could anyone take a look at what am I doing wrong?

Image
Image

i'm out of ideas what else could i change in the configuration files, in their forum they asked me: "Can you show me your Apache config block for this server?" I thought etc/apache2/ has the only config files. Not really good with apache at all.

I would appreciate any help.

Thank you.
JIMP647
 
Posts: 2
Joined: 28. October 2021 20:58
XAMPP version: Latest Apache/2.4.38 (Raspbian
Operating System: Apache/2.4.38 (Raspbian)

Re: Need a bit of help finding correct DocumentRoot for snip

Postby Nobbie » 29. October 2021 08:57

You say, you changed DocumentRoot. DocumentRoot is a setting in an Apache configuration file. Can you show us exactly that file, which you did change according to your description?

Actually, there should be a directory in /etc which is called either one of these:

/etc/apache2.d
/etc/httpd.conf.d
/etc/httpd.d

or similar. That folder holds all Apache configuration files.
Nobbie
 
Posts: 13179
Joined: 09. March 2008 13:04

Re: Need a bit of help finding correct DocumentRoot for snip

Postby JIMP647 » 30. October 2021 10:17

Hello Nobbie, I changed multiple files in apache2 folder
I have archived my whole apache2 folder etc/apache2/ and uploaded to uppit
http://uppit.com/bsox4srvyxa0
with all subsections. I used to search via notepad++ to find all documents within these folders and changed them to DocumentRoot /var/www/html/snipe-it/

Thank you guys.
JIMP647
 
Posts: 2
Joined: 28. October 2021 20:58
XAMPP version: Latest Apache/2.4.38 (Raspbian
Operating System: Apache/2.4.38 (Raspbian)

Re: Need a bit of help finding correct DocumentRoot for snip

Postby Nobbie » 31. October 2021 15:34

I cannot download that file, it says "Wait 5 seconds" forever....

Actually, i wont "scan" all your config files for what you have changes (this is NOT a general Linux forum but instead XAMPP for Linux, but you dont have Xampp installed), i you need our help, show me the lines you changed. I dont know your distribution and dont know, what you did change.

P.S.: Now the download worked (after 1 minute), i found this DocumentRoot in 000-default.conf:

DocumentRoot /var/www/html/snipe-it/

According to the SnipeIT documentation for Linux Servers, your setting is wrong. There is an important message in the documentation:

❗️IMPORTANT:

The DocumentRoot in your server configuration must be set to the public directory that ships with Snipe-IT.


Thats NOT what you did.
Nobbie
 
Posts: 13179
Joined: 09. March 2008 13:04

Re: Need a bit of help finding correct DocumentRoot for snip

Postby evelinshuk » 19. November 2021 13:55

I have the same error
evelinshuk
 
Posts: 11
Joined: 03. November 2021 09:27
XAMPP version: 7.3.25
Operating System: Microsoft Windows


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 39 guests