| arpwatch | yeah I'm looking at it <link rel="stylesheet" type="text/css" href="web.css" /> this comes through, but no styles are applied |
| Khisanth | is that the correct path to the stylesheet? |
| arpwatch | yes, it is located in the same dir as the .pl file |
| nixternal | a/wi6 yay! |
| arpwatch | I wouldn't have to chmod the css file like I do the .pl would I? |
| thrig | why would content be executable? |
| Jmax- | arpwatch: try loading it seperately |
| birgi | night everybody |
| nanonyme | needs to be world-readable anyway |
| Jmax- | see if it is being served ok, if the content is right |
| thrig | (except, of course, on Windows. But they oddly have many security problems.) |
| Khisanth | or look in your server logs |
| arpwatch | I get an internal server error when I try to bring up /web.css in the browser..maybe I should move it out of cgi-bin |
| thrig | why are you mixing content and programs? |
| arpwatch | I didn't know where else to put the css file, instead of putting a full path somewhere I just stuck it in the same dir the tutorials haven't mentioned anything yet about not putting a .css in the cgi bin |
| Woosta | cgi-bin is an old concept .. when it exists it's often a blessed directory If your tutorials are talking about a cgi-bin, I'd guess they're rather old |
| arpwatch | no there isn't a mention of cgi-bin, but that is where I placed my .pl file |
| Jmax- | why? it's unnecessary |
| arpwatch | seemed like a good place to throw it, heh. just about every website I see /cgi-bin/whatever.cgi |
| Khisanth | your cgi-bin is probably configured to execute whatever is in it when something tries to access it, now consider what happens when you try to execute a css file |
| Woosta | arpwatch: if you stick *any* file in there, it's likely to be executed as CGI |
| arpwatch | hmm alright I'll just move everything to my public_html |
| Woosta | arpwatch: it's many many years since cgi-bin was common .. |
| Khisanth | name isn't really all that important :) |
| Woosta | Khisanth: it is if the directory is blessed in your apache conf :) |
| Khisanth | not really, other than the need to have them match |
| Woosta | lol |
| arpwatch | should I uncomment this in my apache2.conf to use .cgi in other directories? #AddHandler cgi-script .cgi |
| thrig | quick! to the voting booths! |
| Woosta | arpwatch: IMHO, leave it commented (so you have it for later reference) and add a new line right underneath: AddHandler cgi-script .pl |
| arpwatch | can I make it handle .cgi and .pl by AddHandler cgi-script .cgi or should it be together with the first AddHandler ? that is hard to read heh |
| Woosta | IIRC you can have them both on the one line: AddHandler cgi-script .pl .cgi |