Hi,
I mess around with my apache2 server from time to time and tried to set up opencart_v1.5.4.1 open-source webpage just for fun but after taking it down, apache2 now redirects me to http://192.168.88.253/install/index.php when http://192.168.88.253 is opened in browser.
Tried googling how to change index.html/index.php location and came up with some results but non of them works for me. I cant find any entry for edited index location in /etc/apache2/apache2.conf, nor in /etc/apache2/sites-enabled/000-default files.
any ideas which else file may be edited by opencart? Thanks!
problem with apache2 configuration
4 posts
- Posts: 11
- Joined: Sun Jan 06, 2013 8:10 pm
I don't know what files may have been modifed by opencart, but you could try
- Code: Select all
grep -R install /etc/apache2
- Posts: 704
- Joined: Sun May 06, 2012 5:17 am
- Location: Essex, UK
weird, nothing useful showed up in apache2 folder..
root@raspberrypi:/etc# grep -R install /etc/apache2
/etc/apache2/apache2.conf:# default Apache2 installation attempts to make adding and removing modules,
/etc/apache2/sites-available/default-ssl: # A self-signed (snakeoil) certificate can be created by installing
- Posts: 11
- Joined: Sun Jan 06, 2013 8:10 pm
Lol, turns out i didnt delete index.php file in var/www foler. It redirected web browser to non-existing file.
There was nothing wrong with apache2 configuration.
Found the problem by using "grep -R", so thank you rpdom for a great advice!
There was nothing wrong with apache2 configuration.
Found the problem by using "grep -R", so thank you rpdom for a great advice!
- Posts: 11
- Joined: Sun Jan 06, 2013 8:10 pm