You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Yii2 Basic Template
I enabled pretty Url and I also have a folder inside the web folder named 'results' and inside the results folder I have a pdf named mypdf.pdf. What am I doing wrong? Please help.
Edit: here is my .htaccess inside web folder
`RewriteEngine On RewriteBase /
Sorry im noob in yii but i'm getting error.
PDF.js v1.4.20 (build: b15f335)
Message: Missing PDF "http://my-app/results/mypdf.pdf".
I am using Yii2 Basic Template
I enabled pretty Url and I also have a folder inside the web folder named 'results' and inside the results folder I have a pdf named mypdf.pdf. What am I doing wrong? Please help.
Edit: here is my .htaccess inside web folder
`RewriteEngine On RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php`
and my .htaccess inside the app folder
`Options +FollowSymLinks
IndexIgnore /
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/(web)
RewriteRule ^assets/(.)$ /web/assets/$1 [L]
RewriteRule ^css/(.)$ web/css/$1 [L]
RewriteRule ^js/(.)$ web/js/$1 [L]
RewriteRule ^images/(.)$ web/images/$1 [L]
RewriteRule (.*) /web/$1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /web/index.php`
The text was updated successfully, but these errors were encountered: