Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th August 2005, 08:02
JeffMN JeffMN is offline
Junior Member
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question Debian Sarge "Perfect Setup" question...

Hi!

I'm a linux newbie, and have had great luck setting up Debian. I stumbled on to your site and decided to set up my server as your "Perfect Setup" instructs. I am curious about something though...

There is a section in the document where during the Apache setup, the document instructs the reader to comment out all the "AddApplication" lines that reference PHP documents, as shown below:

Edit /etc/mime.types and comment out the following lines:

#application/x-httpd-php phtml pht php
#application/x-httpd-php-source phps
#application/x-httpd-php3 php3
#application/x-httpd-php3-preprocessed php3p
#application/x-httpd-php4 php4

When I do this, none of these document types are handled properly, they are just spit out in the browser without being processed by PHP. By uncommenting the lines, they work as I would expect.

Why would you want to comment out these lines? Maybe I'm missing something... please let me know.

In addition to that, I am wondering if it would be possible to document what all the lines setting up Postfix are doing. There's a good chunk of commands that are fed to it without explaining what they are for.

Thanks! Other than that, that's a great document!


-- Jeff
Reply With Quote
Sponsored Links
  #2  
Old 4th August 2005, 10:06
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
Originally Posted by JeffMN
Hi!

I'm a linux newbie, and have had great luck setting up Debian. I stumbled on to your site and decided to set up my server as your "Perfect Setup" instructs. I am curious about something though...

There is a section in the document where during the Apache setup, the document instructs the reader to comment out all the "AddApplication" lines that reference PHP documents, as shown below:

Edit /etc/mime.types and comment out the following lines:

#application/x-httpd-php phtml pht php
#application/x-httpd-php-source phps
#application/x-httpd-php3 php3
#application/x-httpd-php3-preprocessed php3p
#application/x-httpd-php4 php4

When I do this, none of these document types are handled properly, they are just spit out in the browser without being processed by PHP. By uncommenting the lines, they work as I would expect.

Why would you want to comment out these lines? Maybe I'm missing something... please let me know.
Hi Jeff,

the Howtos a prepared for the installation of the OpenSource ISP Controlpanel ISPConfig. ISPConfig configures the document types on a per site / domain basis. If they are not commented out, ISPConfig will not be able to turn them on in the vHosts.

Till
Reply With Quote
  #3  
Old 4th August 2005, 11:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Please also have a look at this post:
http://www.howtoforge.com/forums/sho...63&postcount=6
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 4th August 2005, 17:23
JeffMN JeffMN is offline
Junior Member
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Quote:
Originally Posted by falko
Please also have a look at this post:
http://www.howtoforge.com/forums/sho...63&postcount=6
Excellent, makes sense. I look forward to installing ISPConfig.

Thanks!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.