You need to provide some basic info on your setup and apache logs
before anybody can help. Right now it can just be wild guess work.

On Sun, Mar 9, 2014 at 2:27 AM, Magendra Varman
<kmagendravar...@gmail.com> wrote:
> i cant call css files and images. views pages only working. it cant show
> stylesheets and images. what can i do?
>
>
> On Sun, Mar 9, 2014 at 12:57 AM, Mehul Ved <mehul.n....@gmail.com> wrote:
>
>> On Sat, Mar 8, 2014 at 1:45 PM, Magendra Varman
>> <kmagendravar...@gmail.com> wrote:
>> > How to change Base_URL in Code-Igniter?
>> > I did search through internet, but i can't get proper solution, what to
>> do?
>>
>> Base URL is defined in application/config/config.php. Why do you want
>> to change it? From version 2.1 onwards it's auto detected and that
>> should work well.
>> That said, here's the base_url I use in my applications and it is
>> portable to any hostname without fiddling with config files.
>> $config['base_url']     = ((isset($_SERVER['HTTPS']) &&
>> $_SERVER['HTTPS'] == "on") ? "https" : "http");
>> $config['base_url'] .= "://".$_SERVER['HTTP_HOST'];
>> $config['base_url'] .=
>> str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
>>
>>
>> --
>> With Regards,
>> Mehul Ved
>> _______________________________________________
>> ILUGC Mailing List:
>> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>> ILUGC Mailing List Guidelines:
>> http://ilugc.in/mailinglist-guidelines
>>
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> ILUGC Mailing List Guidelines:
> http://ilugc.in/mailinglist-guidelines



-- 
With Regards,
Mehul Ved
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to