CakePHP project gives an error

I’ve already a project in CakePHP which is running on the server but I’ve installed it locally on wamp server then it gives an error like internal server error and page not found.
Live URL:
http://109.69.238.222/app/webroot/dicu_admin/admin/

You will need to investigate the server logs to find the cause of that. An internal server error can be caused by literally anything!

the first thing to check isyout .htaccess files if RewriteBase is set and is correct.

hi
i have check htaccess but

Yes looks like something wrong with your Apache/htaccess as your URL shouldn’t really have “app/webroot”:

http://109.69.238.222/app/webroot/dicu_admin/admin/

Should be either (apache doc root, no wamp apache alias):
http://109.69.238.222/dicu_admin/admin/

or (wamp apache alias dir, mod rewrite with rewrite base):
http://109.69.238.222/apacheAliasForApp/dicu_admin/admin/
this is where you have multiple apps on the server using subdirectory/alias instead of subdomains.

RewriteEngine On
RewriteBase /myapp
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

Hi,
thank you for the support.

I’ve uploaded source code on a new testing server but still getting an error to access administration.
New server URL:
http://test.techdoodles.com/cakephp/app/webroot/dicu_admin/admin/

Error throw on a new testing server

Blockquote
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@test.techdoodles.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Please find attached below image for my app directory structure.
Screenshot%20from%202018-08-25%2008-47-13

I’ve put following .htaccess file for different folders.

1- cakephp root/ folder .htaccess
RewriteEngine on
RewriteBase /cakephp/
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]

2- cakephp/app/ folder .htaccess
RewriteEngine on
RewriteBase /cakephp/app/
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]

3- app/webroot/ folder .htaccess
RewriteEngine On
RewriteBase /cakephp/app/webroot/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

4- app/webroot/dicu_admin .htaccess
RewriteEngine On
RewriteBase /cakephp/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !..(ico|gif|jpg|jpeg|png)
RewriteRule ^([^?]
) index.php?route=$1 [L,QSA]