For example, if run the php files in /home/chiao/public_html/drupaldam10_from_9/dam/web/Check_PCM_v, then it will get "Forbidden You don't have permission to access this resource.
Apache/2.4.52 (Ubuntu) Server at localhost Port 80"
Edit /home/chiao/public_html/drupaldam10_from_9/dam/web/.htaccess, add one line as below.
...
#chiao, 20231114,
# --- Add the line
RewriteCond %{REQUEST_URI} !/Check_PCM_v/[^/]*\.php$
# ----------------
RewriteCond %{REQUEST_URI} !/core/[^/]*\.php
RewriteCond %{REQUEST_URI} !/core/[^/]*\.php
...
Done.
沒有留言:
張貼留言