-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D'oh. If you're seeing this, your DocumentRoot is set incorrectly. It should be set to the public directory. #10232
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Hi there! Can you show me your Apache config block for this server? |
Hello Snipe! Could you point me in the right direction to search I thought all config files are stored in the apache2 folder? :( Thank you for fast response. |
Right, but I need to know the contents of the config itself. There is typically a VirtualHost block in your httpd.conf that tells Apache what directory to look at. Something like:
This is really kind of outside the scope of GH issues here, since it's a web server config issue, but we'll try to help if we can. |
Hi Snipe! This is what i found via notepad++ searching whole apache2 folder. `<VirtualHost *:80>
vim: syntax=apache ts=4 sw=4 sts=4 sr noet`:) |
No offense, but you should maybe first get into the basics of web-server configuration ;) http://httpd.apache.org/docs/2.4/vhosts/examples.html
|
Debug mode
Describe the bug
Hello you cool people, I'm struggling now for 2 days to set this amazing tool up. 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 (rar) my whole apache2 folder etc/apache2/ http://uppit.com/bsox4srvyxa0
Could anyone take a look what am I doing wrong?
![whatisgoingon](https://user-images.githubusercontent.com/93220034/138944664-2c193611-79b3-400b-9338-50bf414c1d40.jpg)
Reproduction steps
...
Html
Expected behavior
It should show the installer page.
Screenshots
Snipe-IT Version
Latest version from website
Operating System
Raspbian GNU/Linux 10 (buster) (debian base)
Web Server
Apache/2.4.38 (Raspbian)
PHP Version
7.3.29-1~deb10u1
Operating System
Windows 10
Browser
Chrome
Version
95.0.4638.54
Device
Operating System
Browser
Version
Error messages
Additional context
Fresh installation. Manually added downloaded the latest version to HTML folder on my PI.
The text was updated successfully, but these errors were encountered: