Project -
DomainRoot
- index.php ( Working perfectly which display products etc )
- .htaccess
- TokreeAdmin ( Admin Project )
- .htaccess
- Topi/Home/GetCat( API project )
- .htaccess
Things failed to work however when I go to domain/TokreeAdmin OR domain/Topi/Home/GetCat ( API hit ).
I can get the index to show but clicking on http://domainurl/TokreeAdmin or http://domainurl/Topi/Home/GetCat links redirects to 404 Page Not Found.
I created a 2 new context under the main virtual host.
1 )
Uri: /TokreeAdmin/
Directory/Location: /home/domain/html/TokreeAdmin/
Accessible Yes
Rewrite: on
Inherit: no
Rewrite rules: Pasted .htaccess rules ( TokreeAdmin )
Rewrite base: /TokreeAdmin/
2 )
Uri: /Topi/
Directory/Location: /home/domain/html/Topi/
Accessible Yes
Rewrite: on
Inherit: no
Rewrite rules: Pasted .htaccess rules ( /Topi/ )
Rewrite base: /Topi/
What I am missing and what needs to be done?
Note - .htaccess rules used in the project are the simple and under-supported list. Like -
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|assets|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
DomainRoot
- index.php ( Working perfectly which display products etc )
- .htaccess
- TokreeAdmin ( Admin Project )
- .htaccess
- Topi/Home/GetCat( API project )
- .htaccess
Things failed to work however when I go to domain/TokreeAdmin OR domain/Topi/Home/GetCat ( API hit ).
I can get the index to show but clicking on http://domainurl/TokreeAdmin or http://domainurl/Topi/Home/GetCat links redirects to 404 Page Not Found.
I created a 2 new context under the main virtual host.
1 )
Uri: /TokreeAdmin/
Directory/Location: /home/domain/html/TokreeAdmin/
Accessible Yes
Rewrite: on
Inherit: no
Rewrite rules: Pasted .htaccess rules ( TokreeAdmin )
Rewrite base: /TokreeAdmin/
2 )
Uri: /Topi/
Directory/Location: /home/domain/html/Topi/
Accessible Yes
Rewrite: on
Inherit: no
Rewrite rules: Pasted .htaccess rules ( /Topi/ )
Rewrite base: /Topi/
What I am missing and what needs to be done?
Note - .htaccess rules used in the project are the simple and under-supported list. Like -
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|assets|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Last edited: