LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-09-2011, 11:09 AM   #1
eureka
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
WebMin Apache problem


Hi, I want help for problem with Webmin 1.5 on Ubuntu 10.10 and apache 2.2.16 Installation is ok. I installed a virtual site www.beelease.org. I had this failure: Syntax error on line 236 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory

I did follow some threads and repaired the conf -file.
When I now browse the URL with domainname involved, a download action is started and a file.part is downloaded.

Please inform me what to do now.
 
Old 09-10-2011, 03:17 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

If you're using php and your index page is index.php, you need to add in /etc/apache2/apache2.conf
Code:
AddType application/x-httpd-php .php
Regards
 
Old 09-10-2011, 03:54 AM   #3
eureka
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
thanks,
the server answer is: Addtype: command not found.
btw: the type was ok before I had this problem. phpinfo.php was ok
 
Old 09-10-2011, 08:20 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

It's an apache directive, it's not a command. If it was ok before, then chances are that you somehow disabled php.
Better take a look here to see how to configure php5 in debian

Regards
 
  


Reply



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
Setup Apache so Webmin can be accessed like abc.com/webmin instead of abc.com:10000 rtoney5 Linux - Software 6 04-08-2010 12:33 PM
Apache+Webmin HELP madogfreeman Linux - Software 1 05-23-2006 01:28 AM
webmin apache 2 dienerk SUSE / openSUSE 3 10-26-2004 07:18 AM
webmin 1.150 + apache 2.0.50 = problem slero Linux - Software 2 08-26-2004 03:00 PM
apache virtual host problem - webmin reedsmith Linux - Software 5 11-08-2003 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:01 PM.

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