Welcome Guest, Not a member yet? Register   Sign In
source code of index.php displayed (CI4)
#4

(This post was last modified: 07-19-2023, 01:41 PM by Jivanmukta.)

Other PHP applications work fine.

(07-19-2023, 12:33 PM)JustJohnQ Wrote: Show your .htaccess file

#v+

AuthUserFile "/home/robert/Projekty/praca/resources/.htpass"
AuthName "Strony zabezpieczone"
AuthType Basic
require valid-user

SetEnv CI_ENV development

DirectoryIndex index.php

ErrorDocument 401 "/home/robert/public_html/praca/denial.html"

RewriteEngine on
RewriteBase /~robert/praca/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|robots\.txt|denial\.html|error_redirect\.php|resources|captcha|attachments)
RewriteRule ^(.*)$ index.php/$1 [L]

php_value upload_max_filesize 75M
php_value post_max_size 100M

#v-
Reply


Messages In This Thread
RE: source code of index.php displayed (CI4) - by Jivanmukta - 07-19-2023, 01:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB