mod_rewrite & Override settings : ERR 404 - NOT FOUND!
Hello,
Should someone be able to fix the following script installation issue, it would be helpful and appreciable to be returned a step by step solution ! .........
/////// REQUIREMENTS BEFORE SCRIPT INSTALL - DONE
1/ Create domain and sub-domain with default DNS on web hosting provider side (done)
2/ Make both to point to remote VPS hostname and add IP redirections to corresponding websites (done)
3/ Enable Apache2 rewrite module (done)
4/ Create client and both websites on IPS CONFIG3 control panel (Fast-CGI) (done)
5/ Verify message "It Works" from IPS CONFIG3 on both default "index page" (done)
6/ Add a database for the sub-domain i.e academie.mysite.com (done)
7/ Set "RewriteEngine" to "On" within the script ".htaccess" file (default)
8/ Upload the source code to web root directory : /var/www/clients/client2/web2/web (done)
.........
/////// .HTACCESS FILE SETTINGS
View details : http://pastebin.com/raw/3TDiu98D
.........
/////// START SCRIPT INSTALLATION FAILS : ERROR 404 - NOT FOUND!
*** I have been testing OVERRIDE SETTINGS configuration in different files ***
Settings were based on this thread : https://www.howtoforge.com/community/threads/ispconfig3-and-rewrite.39629/
Results
- URL entry : academie.mysite.com, or www.academie.mysite.com
- Message (ISO Config rich text) : ERROR 404 - NOT FOUND !
Other failures ???
- Entry : sudo a2ensite academie.mysite.com.vhost
- Output : ERROR: Site academie.mysite.com.vhost does not exist!
.........
/////// QUESTIONS - SERVER OVERRIDE SETTINGS
Within what file to modify settings ?
- /var/www/clients/client2/web2/web (create file) ?
- /etc/apache2/sites-available/000-default.conf ?
- /etc/apache2/sites-available/academie.mysite.com.vhost ?
- Should I recopy/replace the above ".vhost" file and change extension to ".conf" ?
- etc.
What content to modify or add ?
- 1 ...................
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
- 2 ...................
AllowOverride All
- 3 ...................
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
.......
Awaiting for help and guidance asap please !