•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Linux Servers and Apache section within the Tech Talk category of DaniWeb, a massive community of 391,584 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,650 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Linux Servers and Apache advertiser:
Views: 2412 | Replies: 1
![]() |
•
•
Join Date: Nov 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
I have setup Apache web server for the first time. I have a requirment to display the contents of a directory and display the contents of the file in that directory.
It is wokring fine for most of the file, but when I click on .log files, instead of opening in the browser it open in notepad. I did some research and added the following in the httpd.conf file
AddType text/plan .log
I also tried
AddType text/plain log
but it still displays the file in Notepad.
Any suggestions?
Thanks
It is wokring fine for most of the file, but when I click on .log files, instead of opening in the browser it open in notepad. I did some research and added the following in the httpd.conf file
AddType text/plan .log
I also tried
AddType text/plain log
but it still displays the file in Notepad.
Any suggestions?
Thanks
•
•
Join Date: Nov 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
I have not yet found the solution, but theres seems to be a solution in these line. :-) I will go over it and see if I find the solution.
Thanks.
http://ppewww.ph.gla.ac.uk/~flavell/...tent-type.html
Thanks.
http://ppewww.ph.gla.ac.uk/~flavell/...tent-type.html
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Linux Servers and Apache Marketplace
•
•
•
•
apple bbc cd cellphone code codeweavers computer core debian dell desktop development enterprise fedora games garnet gentoo google gpl handheld hardware ibm install kernel laptop linux mac microsoft mobile news novell open open source openbsd openoffice operating os palmos red hat security server source sun system ubuntu unix vista web windows wine
- Sending HTML/Plain text Emails (PHP)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- Blank Trusted start Page hijackthis.log attc. (Viruses, Spyware and other Nasties)
- hijack this log .. coolsearch.biz/404 htm problem (Viruses, Spyware and other Nasties)
- .htaccess not working.! (Linux Servers and Apache)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: Integrating Apache with PHP and MySQL
- Next Thread: Apache 2.0 RPM


Linear Mode