hello. i'm a happy newlywed w/ Fedora Core 5, and i've only now lost my Linux virginity. I'm really pleased-- impressed even (the pleasure is more than i was expecting)!! please bear with me here as i'll need your patience-- i realize i'm narratively verbose, but i hope you'll deal w/ it this time as i greatly struggle for concise text... thanks.
okay-- the whole point of this Linux box started out as i wanted to have a better Web Development environment (plus hopefully better for learning to program some other stuff, like Ruby, Rails, etc). i'm afraid my unfamiliarity w/ everything Linux has presented obstacles-- mostly the Extraordinary ease-of-use has me bewildered-- so, i'm questinging "is this right?" a lot.
fortunately, almost everything seems to be working out right (according to how-to's) so far, and i'm enjoying the learning process-- i think i'm doing okay as most has followed precisely as the howto's and walkthroughs, etc i've been doing. but, of all things i didn't expect, i'm stuck on setting up a "local development server" in the same manner as i'm familiar with using on a Windows system. In other words-- i want to be able to store and edit files under the Linux equivalent of apache/htdocs/mywebs/, and test pages on ://localhost/myfile.php , but i've apparently done something wrong when editing httpd.conf
i've been using this guide: http://stanton-finley.net/fedora_core_5_installation_notes.html#Web
whereby i've used Yum to update (i think successfully avoiding repository conflicts), and eventually i followed his tips for Apache, only modifying where i thought appropriate as i DONT want to setup a public server-- this is to be for me only... additionally, i want to firewall it too... and i'm not sure if i've got that setup correctly, but i think i do!
(Note: all of this i did while logged in as NOT ROOT, but as UserName and used in Terminal
then typed in my ROOT password-- so, i'm assuming that these changes would 'stick', so to speak? (it's all so intuitively easy-- i can't help but think i might have done it wrong)
so, after completing [what i felt was a local install version of] this little server guide, i started apache [successfully i believe], and go to firefox, type localhost in the address bar and i get the dialog
"You have chosen to open [blank space here] which is a: application/x-httpd-php What should Firefox do w/ this file?..."
having never seen this on my WinXP Localhost before, i decided to try putting a simple index.html into both /var/www/html and /home/my_user_name/public_html and then tried pulling up the absolute URL in Firefox. Oddly, this gives me a 404, yet the server info is shown
Apache/2.2.0 (Fedora) Server at localhost Port 80
where did i go wrong? what do i need to change to get this working properly? maybe i need to see a proper httpd.conf file? maybe you recommend a different guide?
thank you!