Welcome Guest, Not a member yet? Register   Sign In
Problem with viewing the page on 2nd URI segment
#1

[eluser]Unknown[/eluser]
Hi there!

I have a problem with the display of my view pages in my CI application. Whenever I anchor or go to second URI segment the page doesn't seem to load the images and css files.

For example, I will navigate to http://localhost/pbe/controller/add. The page will not load in the correct format it should be. It seems that I have a problem with my .htaccess file

Here is my .htaccess file

Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /pbe/index.php [L]

Here is the incomplete directory listing of my website:

the asset contains the css and the images

pbe/application
pbe/application/config
pbe/application/controllers
pbe/application/models
pbe/application/views
pbe/assets/css
pbe/assets/images
pbe/assets/css
pbe/system

Thanks!





Theme © iAndrew 2016 - Forum software by © MyBB