I have my cakephp application inside Myproject folder which I can access by using domain name eg. www.example.com. This website works properly.
But I have another folder called Webservices which contain web services written in php. I have placed this folder inside Myproject folder & and trying to access php script inside Webservices folder by using domain name www.example.com/weservices/phpscript.php but it gives error that controller not found.
I have made changes in .htaccess file but I am not able to reach the solution.
below is my .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
I am sure that we have to make changes in .htaccess file. can you please help me to write .htaccess file