Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-03-2004, 08:20 PM   #1
Red Squirrel
Senior Member
Registered: Dec 2003
Distribution: Mint 17.1 KDE on workstation, CentOS 6.x on servers
Posts: 1,121

Rep: Reputation: 47
apache acting weird...

I don't know how to install from source, I tried everything but no success, so instead I'm using apt-get which is 100 times easier.... to some extent. (mysql did not work though).

I got apache and php installed. I have this .htaccess file that forces .htm files to act as php, but for some odd reason, it does not want to execute it, instead I get a download request thingy as if it was a exe file or romething. Why?!?

So I got rid of the .htaccess file, but it still does it! But only to some .htm files, not all.

What's going on? And first of all, why did'nt the .htaccess file work? It works on my host.

AddType application/x-httpd-php .phtml .pwml .php3 .php4 .php .php2 .inc .htm .html
Old 03-03-2004, 08:29 PM   #2
Red Squirrel
Senior Member
Registered: Dec 2003
Distribution: Mint 17.1 KDE on workstation, CentOS 6.x on servers
Posts: 1,121

Original Poster
Rep: Reputation: 47
Weird... I renamed the file and it works now, might as well list the ones that don't work, maybe it has to do with the filename or something?

(download request dialog)

There's also a /iceteks/zzz-template.htm file and it works, it opens like it should, also there's a /iceteks/services/index.htm, and that too, opens like it should. In fact, I think it's only the 3 files above that don't work. Renaming them works, but that's out of the question, why should I be restricted to certain filenames, there should be a better way. Thanks in advance.

Oh, and I set apache so that index.htm is considered an home page, so now if I type http://borg/iceteks/ it opens, but the rest of the files do as I was saying. (borg is the hostname)

Last edited by Red Squirrel; 03-03-2004 at 08:31 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache acting weird Red Squirrel Linux - Software 2 08-19-2005 08:47 PM
Networkcard is acting weird Rolby Linux - Hardware 2 06-26-2004 01:45 PM
cdrom acting weird Vindane Slackware 5 05-30-2004 12:53 AM
Radeon acting weird... r_jensen11 Linux - Hardware 9 05-09-2004 01:41 AM
Apache acting weird with index pages BlurredWeasel Linux - Software 1 11-30-2003 01:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration