I am healthily suspicious of the behavior that you are attributing to OpenSuse: the behavior should be exactly the same. Focusing your attention now to just this environment ... take a careful step back, look once again at all the config files, be sure you’ve restarted, and then look at the access.log and error.log files once more; checking, also, one environment against the other.
The fundamental reason why you are seeing kwrite is the Apache is not executing the file ... Apache is serving it as text. This must be an error ... uhh, your error ... in the setup of the apache configuration on Linux. Windows is now set up correctly; Linux is not.
(So, anything having to do with file-permissions, or “shebangs,” must in fact be a red-herring of some kind. ’Tis easy in this biz to chase white-rabbits. We all do, from time to time, especially where Apache is concerned.)
Since you say that you are much less familiar with Linux, perhaps you can tell us a little bit more about how your Apache config is set-up with regard to the specific directory where these files are located: the environs where, in Linux, you have placed the AddHandler directive ...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||