You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 named s.soarn.pro.conf and is has:
In the /etc/apache2/ is the apache2.conf file, which should be the default file, I added to the end of it:
irectoryIndex index.php index.html index.htm /indexer.php
# Requires rewrite module to be enabled (sudo a2enmod rewrite).
RewriteEngine On
RewriteRule ^/indexer.php(.*)$ - [R=404,L]
So far, even with systemctl restart apache2 nothing is working, and I just get the default apache2 layout on the server. I also installed mbstring, jquery.scrollTo, and Tocca.js. However nothing appears to be working. Is there something that I am doing wrong?
Thanks, Soarn.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: