Initial Config for httpd.conf
Expected Behavior (or desired behavior if a feature request)
Trying to get to the initial setup screen
Actual Behavior
The 172.26.0.25 page isn’t working
172.26.0.25 is currently unable to handle this request.
Please confirm you have done the following before posting your bug report:
- [X ] I have enabled debug mode
- [ X] I have read checked the Common Issues page
I thought I would post here because I am currently doing this solo, this being my first ever linux experience I feel like I've done so well and I am so close so please help! I feel like I have done something wrong in the httpd.conf file everything has installed so far this is the last part.
If this is your whole httpd.conf than its corrupt If you are using centos you can try this: httpd.txt than you have to put in /etc/httpd/conf.d this: snipeit.txt
rename it to snipeit.conf and restart your webserver afterwards
Regards
Still same error It's redirecting me to http://172.26.0.25/setup I no longer even receive the apache page
To confirm I am using CentOS
Okay I have the apache screen back, is there somewhere in particular I need to add the snipeit.txt content to on the script?
httpd-copy.txt I have done some further troubleshooting, the webserver is working so the issue must lie with some of the documents in the set up?
I've changed the document root and its taking me to a localhost/setup folder that it says it can't find? I've uploaded my current httpd.conf
Okay updated troubleshoot, I've compiled things I have tried
- Confirmed access on all folders isnt root, even applied 777 permissions throughout (to confirm this isn't a permissions issue)
- Added some garbage into .htaccess and it has chucked up an error so mod_rewrite is working
- Changed document root and created dummy index.php to confirm web server is working as it should
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
should probably be
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
Otherwise nothing looks particularly wrong. When you ls -al /var/www/html/snipeit/public what do you see?
Hi,
got the same error - trying to access in browser got the redirection to url/setup and the 500 error. Here is the public:
[root@snipeit public]# ls -lah total 84K drwxr-xr-x. 6 apache apache 4.0K Nov 2 11:25 . drwxr-xr-x. 14 root root 4.0K Nov 2 11:44 .. drwxr-xr-x. 7 apache apache 4.0K Nov 2 11:25 assets drwxr-xr-x. 3 apache apache 4.0K Nov 2 11:25 build drwxr-xr-x. 3 apache apache 4.0K Nov 2 11:25 _debugbar -rw-r--r--. 1 apache apache 32K Nov 2 11:25 favicon.ico -rw-r--r--. 1 apache apache 724 Nov 2 12:08 .htaccess -rw-r--r--. 1 apache apache 1.9K Nov 2 11:25 index.php -rw-r--r--. 1 apache apache 24 Nov 2 11:25 robots.txt -rw-r--r--. 1 apache apache 12K Nov 2 11:25 sample.csv drwxr-xr-x. 7 apache apache 4.0K Nov 2 11:25 uploads -rw-r--r--. 1 apache apache 914 Nov 2 11:25 web.config [root@snipeit public]#
Installed via git clone.
CentOS 6.5 with PHP 5.6 is used.. mod_rewrite is working (adding garbage text to .htaccess gives the internal error while trying to access in chrome after).
Tried to set permissions 777 for the installation directory - got 2 x "Whoops, looks like something went wrong" lines..
Thank you.
There is no /setup directory.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!