Welcome Guest, Not a member yet? Register   Sign In
Accessing images in Multiple Applications [Resolved]
#1

[eluser]sayo[/eluser]
having problems accessing images in
multiple applications using one CI
installation.

I have this .htaccess

Options +FollowSymLinks
Options -Indexes
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|img|css|js|phpjobscheduler|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [NC,L]

I have two applications:
user
admin

Everything works great with index.php
which accesses the user folder but in
the admin.php which is for the admin,
images are not displayed.

Any suggestions pls?

NOTE: all works good on localhost
#2

[eluser]sayo[/eluser]
Thanks!

I just discovered that I had passworded
the folders giving the problems before
switching to CI using .htaccess

All I had to do was to remove the password
and things worked fine.

Thanks for the help




Theme © iAndrew 2016 - Forum software by © MyBB