Monday, July 31, 2006

Atlast A Successful install of Linux OS on my pc

I have been trying to install linux on my personnel pc from last 5-6 years ( actually I try it only 10 -12 times ) but always I end up crashing my Windows machine and hence, never install it on my pc. But during last 5-6 months I am working on a project in my office, which is entirely on Linux platform. Hence, I learn some if and buts of linux there... Now that I have some confidence on how to do that, I try to install linux on my Personnel PC and a magic happens. I have a Working Linux on my box, with a single crash. I dual boot it with Windows XP for now... and never remove it from dual booting, afterall I am MS techonlogy developer as well. If any one need some help on Linux, now you can ask me, I am confident to help.. btw for help you can visit http://www.linuxquestions.org as well its a good site. Now, let me work on my linux box... Sumit Gupta

Saturday, July 29, 2006

Working saturday

Another boring working saturday. Lot of pending work, and no concentration and willingness to complete those pending jobs. This is what happen to me every saturday, every time i thought to enjoy the day, some one comes running with his problem ... today my day start as usual ... take project confirmation from seven people on 7 projects ...wow , all is going smooth ... (not ususal) but good to start a saturday. Hope to see a bright monday, but still 2 hrs left in end of the day Till than work and work and PLAY (sshh.. don't tell my boss, he is around ) Sumit Gupta

Wednesday, July 05, 2006

SELinux and Apache Permission Denied

Hi, Today I have new problem with my apache 2.0 installation. It stop Picking document root files and give Permission denied Error in Apache Error log for those folders ... Seems strange to me. I give FULL permission to that folder, try each and every combination of permission and owner that I think should work, but no use. Why ... as this is first time I was running apache on SELinux enable system. It is "Extended Security for Linux" Thanks to this post in Experts Exchange I got the solution http://www.experts-exchange.com/Web/Web_Servers/Apache/Q_21171001.html Last comment by kbensch is correct solution It says to check the object Permission in extended mode with ls -Z /dir/where/www/root/will/be and than change it to permit httpd service to use it as its own data rather than users data using chcon -R -h -t httpd_sys_content_t /dir/where/www/root/will/be Though not sure what effect it has on user accessing this data ... as i am still new to linux and it has Extended Security now ... Thanks to Experts exchange to bank that question for me :) Sumit Gupta (My Experts Exchange UserName is VIkasumit :o) )

Tuesday, July 04, 2006

HTML Textarea Word Wrapping

Hi, Today I discovered a new thing, it sound silly to most of developers, and might laugh on me... But Today I understood the mean of wrap="hard" for Textarea :). Actually we hava a textarea for product description, and programmer add wrap="hard" in description, not sure why? And while displaying description for product, we just replace Line Break, Carriage return (\r\n or vbCRLF) with HTML Line Break
Sound simple, but I found that after doing this I got exact formatting of text that I have in textarea. No matter I put Line break in text or not, it always take line break .. :( This is the result of wrap="hard" in textarea... It preserve the Formatting of text as its in terms of text wrapping and send that in that manner in POST Header. Good thing to learn about HTML (Basic of Internet and its success ) Sumit Gupta