Closed soarn closed 5 years ago
From what i can see you have placed the public
directory in your DocumentRoot
. Try moving the files from public
straight into your DocumentRoot
directory instead, and then edit the indexer.php
to make sure it points directly to the source file, this line right here: require_once('../src/eyy-indexer.php');
.
If it still doesn't work, then i'll have to test it out for myself.
Well jeez, why didn't I realize that? But thank you so much! This has 100% fixed it, thank you a lot!
Context: content directory:
/var/www/html/
src directory:/var/www/src/
public directory:/var/www/html/public/
all of my content is located in/var/ww/html/*
(not in/var/www/html/public/*
folder) apache2 location:/etc/apache2/
server location:s.soarn.pro
I have in
/etc/apache2/sites-avaiable
a file nameds.soarn.pro.conf
and is has:I also have in
/etc/apache2/
a.htaccess
file withIn the
/etc/apache2/
is theapache2.conf
file, which should be the default file, I added to the end of it:So far, even with
systemctl restart apache2
nothing is working, and I just get the default apache2 layout on the server. I also installedmbstring
,jquery.scrollTo
, andTocca.js
. However nothing appears to be working. Is there something that I am doing wrong?Thanks, Soarn.