CodeIgniter Forums

Full Version: Broken images and subdomain
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

I have a problem with images not showing on subdomains, this problem also affects links to some files directly.

My codeigniter is installed with the following setup


If I paste the link in my browser then it works
It however does not work inside the page. The weird thing is that my css and javascripts work but not the direct link to the images.
I checked the image properties and it is the correct link.

If i however browse my site from the folder instead of the subdomain then it works fine

I do not use .htaccess to remove the index.php

Any help would be greatly appreciated. Thanks

El Forum

did u checked the permission images folder?

El Forum

Thank you for the reply. It is a permission problem but I am not sure why and how to solve it. Using firebug for firefox from your suggestion i get this as the response when the image is to load

You don't have permission to access /public/images/myimage.jpg
on this server.<P>

How can I return access to that file, as mentioned before it does work if i view the image from the browser address bar.
Thanks for any guidance.

El Forum

i know that u know how use ftp for permission , here some help about ftp and permission