Page 1 of 1

Need a bit of help finding correct DocumentRoot for snipeit

PostPosted: 28. October 2021 21:08
by JIMP647
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.

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

PostPosted: 29. October 2021 08:57
by Nobbie
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.

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

PostPosted: 30. October 2021 10:17
by JIMP647
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.

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

PostPosted: 31. October 2021 15:34
by Nobbie
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.

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

PostPosted: 19. November 2021 13:55
by evelinshuk
I have the same error