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 - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-21-2007, 05:06 PM   #1
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
apache upgrade woes


Ok so I added some new repos and did an aptitude upgrade and now apache isn't working all that great...

First mono stopped working...
I fixed that by adding:

LoadModule mono_module modules/mod_mono.so
Alias / "/var/www"
AddMonoApplications default "/:/var/www"
<Location />
SetHandler mono
</Location>

To my httpd.conf file. Then it turns out php pages aren't working either.
All of the php4 & 5 & mono .load and .conf files are in the modules-enabled folder.
Even though the include statements are in the apache2.conf file, i don't think they are
being used maybe. How can I fix this or what can I put in the httpd.conf file to enable
php?

Thanks,
nomb
 
Old 07-24-2007, 08:24 AM   #2
emi_ramo
Member
 
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36
Do you have php (4 or 5) apache2 mod installed?
Do you have
Code:
<IfModule mod_php5.c>
  AddType application/x-httpd-php .php .phtml .php3
  AddType application/x-httpd-php-source .phps
</IfModule>
on your /etc/apache2/mods-enabled/php5.conf file (or version equivalent file)?
Do you have
Code:
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
on your /etc/apache2/mods-enabled/php5.load file?
Do you think you need some php special options on your VirtualHosts declarations?

May be you can post your log(s) file(s) if they have some interesting info on module loading or on php execution process.
 
Old 07-24-2007, 07:30 PM   #3
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
Ok i really hope u can help me. All the modules run fine. php5 and everything...
This is with mono 1.2.4 installed but nothing in the httpd.conf

Then I go and add this to the httpd.conf so the server has mono support and from then on no other type of page works. Of couse it is uncommented on the server.

# LoadModule mono_module modules/mod_mono.so
# Alias / "/var/www/"
# AddMonoApplications default "/:/var/www/"
# <Location />
# SetHandler mono
# </Location>

******************************************************************

I think i might have fixed it. I took everything out of the httpd.conf file. And in mods-enabled I made a file named: mod_mono_auto.conf and put this in it:

MonoAutoApplication enabled
AddType application/x-asp-net .aspx
AddType application/x-asp-net .asmx
AddType application/x-asp-net .ashx
AddType application/x-asp-net .asax
AddType application/x-asp-net .ascx
AddType application/x-asp-net .soap
AddType application/x-asp-net .rem
AddType application/x-asp-net .axd
AddType application/x-asp-net .cs
AddType application/x-asp-net .config
AddType application/x-asp-net .dll
DirectoryIndex index.aspx
DirectoryIndex Default.aspx
DirectoryIndex default.aspx

******************************************************************

Can anyone explain this to me?
 
  


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
dist-upgrade woes nagromo Debian 3 10-01-2004 02:47 PM
Autofs woes after upgrade rbanfield Linux - Enterprise 1 07-09-2004 01:18 PM
glibc upgrade woes bobbitt Linux - General 3 05-04-2003 10:52 AM
kernel upgrade woes tincat2 Linux - Software 2 08-24-2002 07:38 AM
Mozilla 0.9.2 to 0.9.6 upgrade woes !!! salman Linux - Software 5 12-22-2001 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:29 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