
@calvin using <? base_url(); ?> and things are working fine On Fri, Dec 4, 2009 at 8:57 AM, Calvin Omari <calvinebarongo@gmail.com>wrote:
Hi I have used css and php for quite a while and the only problem like my colegues have said its the path in php just link the style sheet like you do kawaida eg. <link href="styles.css" rel="stylesheet" type="text/css" /> and put the css in the folder containing your php or specify the path where the css folder is e.g cssfolder/style.css
Cheers
On Thu, Dec 3, 2009 at 11:43 PM, Isaak Mogetutu <imogetutu@googlemail.com>wrote:
Thanks alot guys. things are now loading perfectly. I configured the httpd.config file mzuri restarted everything n things are working.
On 12/3/09, Peter Karunyu <pkarunyu@gmail.com> wrote:
What rules are in the htaccess? They could be overriding whats in the the httpd.conf
On Thu, Dec 3, 2009 at 5:27 PM, Kiti Chigiri <kiti.chigiri@gmail.com> wrote:
looks good to me at least on the mod_rewrite and Directory directives...have u tried the support forums at codeigniter?
On Thu, Dec 3, 2009 at 5:17 PM, Isaak Mogetutu <imogetutu@googlemail.com>wrote:
Here is my config file
On Thu, Dec 3, 2009 at 4:44 PM, Kiti Chigiri <kiti.chigiri@gmail.com>wrote:
Hi Iassk,
Codeigniter, CAKEPHP, symfony all work by using mod_rewrite to make those "pretty urls" and map them to controllers & actions. I think u need to look at ur apache httpd configs
Try these options 1) Locate <DocumentRoot> directive in ur httpd.conf and change the value of "AllowOverride" to be AllowOveride All. 2)Ensure that mod_rewrite is enabled and working.If you do phpinfo(), you should see rewrite in the loaded modules section 3) if u make any config changes ensire that you restart the services ;-)
see
http://book.cakephp.org/view/37/Apache-and-mod_rewrite-and-htaccessfor
an overview of howto.
Specifically for codeigniter, make sure that the $base_url directive is set up
hope this helps
On Thu, Dec 3, 2009 at 4:33 PM, Isaak Mogetutu < imogetutu@googlemail.com > wrote:
> At this rate am trying out symfony or cakePHP > > nothing doing!-------->added, edited, googled, changed permission, > rewrote_mod, rebooted, reinstalled ... > > Anymore ideas will be really helpful > > > On Thu, Dec 3, 2009 at 11:02 AM, Ndungi Kyalo <ndungi@gmail.com> wrote: > >> Greetings Mr Isaak. >> >> You need to turn off the rewrite rules for the images and css >> directories. The easiest way I know is to drop in a .htaccess into >> those folders with at least the following : >> >> RewriteEngine off >> Options -Indexes >> >> >> >> >> >> On 12/3/09, Isaak Mogetutu <imogetutu@googlemail.com> wrote: >> > Am using the <? base_url ?> function to map the CSS and img folder >> > in >> my >> > root folder >> > >> > and the permission are sawa. >> > >> > tried to check source in the browser but i dont think the framework >> doesn't >> > lets you see more than you need to know. >> > >> > Permissions are ok....running snow leopard. >> > >> > On Wed, Dec 2, 2009 at 8:28 PM, Dennis Kioko <dmbuvi@gmail.com> >> wrote: >> > >> >> How have you included the CSS? And if on Linux, what are the >> >> permissions of the Image folder and the CSS file? >> >> >> >> -- >> >> with Regards: >> >> >> >> Get your free technology e-magazine in pdf format: Tekniaonline: >> >> http://bit.ly/tekniaonline-2 >> >> >> >> 26 alphabetical pick up lines for dummies, only at: >> >> http://gramware.blogspot.com >> >> _______________________________________________ >> >> Skunkworks mailing list >> >> Skunkworks@lists.my.co.ke >> >> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks >> >> ------------ >> >> Skunkworks Rules >> >> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 >> >> ------------ >> >> Other services @ http://my.co.ke >> >> Other lists >> >> ------------- >> >> Announce: >> >> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce >> >> Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science >> >> kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general >> >> >> > >> > >> > >> > -- >> > >> > Ted Turner < >> http://www.brainyquote.com/quotes/authors/t/ted_turner.html> - >> > "Sports is like a war without the killing." >> > >> >> >> -- >> Ndungi Kyalo >> >> "if you want to go fast go alone, if you want to go far get company" >> Follow me on twitter @ndungikyalo >> biblia.kenya.or.ke >> _______________________________________________ >> Skunkworks mailing list >> Skunkworks@lists.my.co.ke >> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks >> ------------ >> Skunkworks Rules >> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 >> ------------ >> Other services @ http://my.co.ke >> Other lists >> ------------- >> Announce: >> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce >> Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science >> kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general >> > > > > -- > > Samuel > Goldwyn< http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> > - "I'm willing to admit that I may not always be right, but I am never > wrong." > > _______________________________________________ > Skunkworks mailing list > Skunkworks@lists.my.co.ke > http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks > ------------ > Skunkworks Rules > http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 > ------------ > Other services @ http://my.co.ke > Other lists > ------------- > Announce: > http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce > Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science > kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general >
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke Other lists ------------- Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
--
Ogden Nash < http://www.brainyquote.com/quotes/authors/o/ogden_nash.html> - "The trouble with a kitten is that when it grows up, it's always a cat."
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke Other lists ------------- Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke Other lists ------------- Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke Other lists ------------- Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke Other lists ------------- Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
-- Pablo Picasso<http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html> - "Computers are useless. They can only give you answers."