Ubuntu Servers :: Install Mod_python On 9.10 32 Bit Apache2 Server?

Jul 23, 2010

I'm trying to install mod_python on my Ubuntu 9.10 32 bit apache2 server. I have the module installed (via apt-get) and I know the module is loaded because the following appears in my log when I restart apache:

Code:
[Fri Jul 23 15:00:51 2010] [notice] Graceful restart requested, doing restart
PHP Deprecated: *Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Deprecated: *Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0

[Code]...

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Installing Mod_python With LAMP?

May 4, 2010

End of my first week after using ubuntu. I have setup LAMP for the purposes of my own coding education, place to run php and python scripts.

LAMP seems to be setup fine and working - I even got php5 working with it - however I am having a lot more trouble getting python to work in much the same manner.

I have downloaded the mod_python from [URL], unzipped it, tried to run ./configure and it said apxs was not installed.

After some reading it turns out I had to remove some apache-fork something and install apache-devfork (please forgive lack of exact names).

After doing this the ./configure on mod_python passed the "finding apxs" test but then said it can't find apache2 at /sbin/apache2 and again aborted the configure.

running 10.4 (lucid)

View 1 Replies View Related

Ubuntu :: Can't Get Apxs \ Set Up A Web Server With Mod_python Installed With Apache?

Oct 18, 2010

and I am trying to set up a web server with mod_python installed with apache. When I run the ./configure for mod_python it gives me an error saying that can't find apxs. I have Ubuntu server addition and Apache2

View 1 Replies View Related

Fedora Servers :: Install Php When Apache Is In /usr/local/apache2 ?

May 1, 2010

I need to know how to install php when apache is in /usr/local/apache2

View 6 Replies View Related

Ubuntu Servers :: Apache2 - Downloads Of Media Files From My Server Stop At Random Point

Nov 27, 2010

I'm having a very strange problem with my ubuntu apache2 server running wordpress. i want do download media files (from within a flash-mp3-player onsite or by link [url]) but the file transfer just stops after a while. (at least sometimes) at random positions. after that i have to clear the browsers cache and try again.

It is really annoying, though it is my band's website and we want to share our songs with our friends. i checked from several clients, seems to happen everywhere (linux, mac or windows clients)

The system:

Code:

With wget it seems to work...

View 4 Replies View Related

SUSE :: Apache2 Reload Error Cannot Load /usr/lib64/apache2/mod_dav_svn.so Into Server?

Nov 19, 2010

I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 9 Replies View Related

Debian :: Apache2 Start Error Starting Web Server: Apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost?

Dec 9, 2009

I am getting this error

Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!

also what is 68.178.232.100

View 1 Replies View Related

Ubuntu :: Cannot Install Mysql, Php5 And Apache2 Server On 10.04?

Aug 4, 2010

currently I am using Ubuntu 10.04.I want to install mysql, php5 and apache2 server in my machine. I have tried this- aptitude install mysql-server mysql-client

But the outcome is
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

[Code]...

View 2 Replies View Related

OpenSUSE :: Yast2 Install PostgreSQL Server (Apache2)

Oct 23, 2010

This is my second day trying to learn opensuse. My lack of terminology makes it very hard to google for the answers. I need to do this:
opensuse:~ # yast2 install postgresql-server apache2 perl texlive perl-DBD-Pg libapr-util1-dbd-pgsql
I know about yast, however this looks like something that needs to ran from terminal.

View 9 Replies View Related

Fedora :: Apache Python ( Mod_python ) Does Not Work In FC14?

Feb 26, 2011

I installed (with yum) apache, python and mod_python in FC14. I added following contents to file /etc/httpd/conf.d/python.conf

Code:
<Directory /var/www/html>
AddHandler python-program .py
PythonHandler myscript
</Directory>
I tried to visit 127.0.0.1/myscript.py

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Take Apache2 Away From Root?

Feb 4, 2010

I think my apache2 is owned and running as root. I don't know if I installed it like a noob a while ago but I would like to secure it now especially since I just figured out how setup virtual hosts and I may want to eventually let people host sites on my server and I obviously don't want to have to give them root access. How can I confirm that apache2 is running as root and how do I take it away from the root user?

View 6 Replies View Related

Ubuntu Servers :: Apache2 - 98 - Address Already In Use

Aug 29, 2010

I am using Ubuntu Server 10.04 64bit. I am getting an Apache2 start up error after I setup my certificates and configure Apache2 for HTTPS. At the point on start up where I need to type in my certificate pass code I get a lockup due to the Apache2 process being in a hung state. I reboot if needed and switch to console tty2. When I type in the command.

Code:

I get the following error.

Code:

To correct the problem I do this.

Code:

From the output of the command above I look for the apache2 process and make note of its process ID. Then, I kill that process ID. For example, the command below has an apache2 process ID of 1131.

Code:

Next, when I run this command.

Code:

The apache2 server starts up and asks for my certificate password, accepts it when I type it in, and runs perfectly fine afterward.

Fortunately this instance of Ubuntu Server is running inside a VMWare virtual machine. I can just "pause" the virtual machine if I need to rather than going through this crude and tedious start up process too frequently.

Crude and tedious are feelings I'm having too frequently lately with Ubuntu Server.

View 5 Replies View Related

Ubuntu Servers :: Apache2: Php Not Parsing

Oct 18, 2010

I've reinstalled my system and installed apache. I've installed php5. 'a2enmod php5' returns with a message telling me that php5 is already enabled.

However, this code does not parse:

Code:
</php
phpinfo() ;
/>

I get a blank page. When I view the source code for the page, I see the php code.

How do I get php to work?

View 3 Replies View Related

Ubuntu Servers :: Setting Up Apache2 With SSI The *right* Way?

Jan 5, 2011

So I've got a box running 10.04LTS Server, and on it is running the latest build of Apache2.It's a home box - a server set up for the sole purpose of experimenting and having fun with. So far, the fun is mostly breaking it over SSH and then fixing it when I get home and can log into it via recovery.What I really want to do is to get this box set up with Apache2 the way it seems like it was designed - with Apache2 serving web pages from its default file location (/var/www) but also being able to log in and upload/download new web page files to that directory over SCP or SFTP. I keep hitting snags.Here's what I've done so far:

1. The server is set up in a DMZ at home and my router updates a Dynamic DNS record; so far I can SSH into it no problem.

2. Apache is working. I get my "it works!" page when I enter either the IP or the dyndns domain name.

3. SFTP is sort of working. I can log on using WinSCP and see the files and download them, but I can't upload to the default directory with my normal login.

Here's my issues: 1. I want to set up Apache *correctly*. To me, that means leaving it pointing to the default directory, but still being able to upload to that directory. I have not (and probably will not) enable the root account. I've set the permissions to 755. I've tried chown'ing the directory, but then it seems I can't view the webpages.As a workaround, I created a www folder in my default user home directory and pointed Apache2 there in the 'default' file in /etc/apache2/sites-available. The changes read as follows:

Code:
DocumentRoot /home/username/www
<Directory />
Options FollowSymLinks[code]...

That gives me a workaround for the default directory SFTP issue, but I would rather learn what I need to do to have it set up and working with default values.

2. You may notice I added Includes under the Options. My goal is to get server-side includes working. But they aren't. I have some existing webpages my work has set up - I using these as a template to use to adapt a flash movie I made to a specific resolution, as well as to learn how to optimize my flash for a webpage. Our webhost uses virtual hosting; I am not yet doing so. I'm not sure what they've done to set up the server-side includes, but the files they are using are all html files - no shtml. The include files themselves have either .htm or .html extensions. All of the pages have .html extensions.

My reading said that I need mod_include installed in Apache2. Where can I check to see that it is installed? Where do I need to add the Includes under Options?Is it in the right place? And finally, where do I need to add XBitHack on to enable it? This is the method that Apache suggests, but the documentation offers no clue as to where to put it. Most of the documentation out there refers to apache.conf, but that's the Apache 1.3 way of doing things.I really just want this to be set up according to the defaults as much as possible.I want to have a good working knowledge of Apache and of how to set it up and configure it, but dang it if it isn't a frustrating process.

View 8 Replies View Related

Ubuntu Servers :: Removed Apache2 But It's Still There?

Mar 8, 2011

I'm very baffled by this, I was setting up my mumble server since my old one had a hard disk failure. I was messing around with web registration but decided I didn't want it since this server is really only for a few friends.

So I removed all the mumble-django and apache2 packages required for web registration, but for some reason apache2 is still on my system and listening for connections.

terminal output below to further clarify.

Code:
Linux voiceserv 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011 i686 GNU/Linux
Ubuntu 10.10
Welcome to Ubuntu!

[Code].....

View 3 Replies View Related

Ubuntu Servers :: Apache2 Not Accessible From LAN

Apr 1, 2011

I have a problem with apache server. The thing is - I can connect to my server on localhost, but when I try to connect from local network, it doesn't reply.

I can ping my web server from lan. I can ssh my web server from lan.

I haven't modified iptables since install except these commands>

Code:
iptables -A INPUT -p tcp -s 0/0 --sport 1024:65535 -d $MY_SERVER_IP --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p tcp -s $MY_SERVER_IP --sport 80 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT

[Code].....

View 1 Replies View Related

Ubuntu Servers :: Cant Uninstall Apache2?

Apr 9, 2011

So i want to remove Apache2 so i can compile my own edited version. But when i do it says that it cant remove it. here is a 'log':

Code:
geisst@ubuntu:~$ sudo apt-get purge apache2
Reading package lists... Done

[code]....

View 5 Replies View Related

Ubuntu Servers :: Apache2 Fails To Start ?

Jan 17, 2010

How to resolve this apache2 problem I keep getting, I have installed a debian LAMP server with ispconfig3 and everytime I reboot apache fails to start, I don't know and I have done some research but nothing seems to work, which leads me to reinstall everything from scratch again, I think I have reinstalled at least 10x or more.

When ever I reboot I get the following error

Code:

View 9 Replies View Related

Ubuntu Servers :: Perl .pl, Cgi-bin Apache2 Configuration On 9.10?

Jan 18, 2010

Very new to Ubuntu (linux) in general and read various forum and threads to get .pl file to run on a new Ubuntu 9.10.My cgi-bin is in /var/www/site/cgi-bin. The server will run 2 websites site1 and site 2. Site2 is html only and site1 has some cgi and pl files. Everytime i get to the cgi-bin/other_director the browser tries download the file or even if going directly to index.pl. Please find attached my site-available for both default and site1 for your consideration. I also ran a2ensite site1 and a2ensite site2, the reloaded the apache2 serverQuote:

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www

[code]....

View 2 Replies View Related

Ubuntu Servers :: Apache2 - HTAccess Will Not Work

Feb 9, 2010

I'm a newb when it comes to linux operating systems so I'm attempting to get better through experience. I work for a web development company and we use Ubuntu for our operating systems (the programmers at least). Anyways, I'm trying to install LAMP services and get them working. I have all L.A.M.P. services installed... but Apache2 is giving me a problem. I have an .htaccess file installed in a directory under my document root. But Apache2 is not interpreting it. I have AllowOverride All on but I can't figure it out. I did make a bogus .htaccess file attempting to make apache give me a error, nothing.

View 2 Replies View Related

Ubuntu Servers :: Apache2 Is Missing Apxs2?

Mar 9, 2010

I'm configuring an Ubuntu server that's running x64 9.1. I installed the LAMP stack during the os installation and now I need to build an apache2 module. It appears as though apxs is missing. I've installed apache2-threaded-dev but am still missing apxs2.

View 4 Replies View Related

Ubuntu Servers :: Apache2 Running But Can't View

Mar 14, 2010

I have had a LAMP setup on my computer for a while without any trouble but I have suddenly become unable to access it through either localhost or my IP address. I have tried removing and reinstalling the packages but it still doesn't work and the /var/log/apache2/error.log does not give me any errors.

Here is my apache2.conf

[URL]

View 5 Replies View Related

Ubuntu Servers :: Apache2 Log Files Not Rotating?

Mar 29, 2010

I can't get my apache2 log files to rotate on an Ubuntu 8.04 64-bit server install.

Does anybody know of logrotate creates an error log somewhere by default?

Here's my /etc/logrotate.d/apache2 file if someone has any insight if I am doing something wrong.

/var/log/apache2/*.log /var/log/apache2/portal/*.log {
weekly
missingok
rotate 52
nocompress

[Code].....

View 9 Replies View Related

Ubuntu Servers :: Cannot Get PHP To Open In Firefox With Apache2

Apr 12, 2010

I'm using Ubuntu 9.10 with Firefox 3.5. I am trying to open a local php file in Firefox. I already installed Apache2. I already installed the PHP5 modules for Apache2. I already tried restarting Apache2 and I cleared Firefox's cookies and cache. Apache2 is currently running and PHP is in the "mods-enabled" folder. Yet every single time I try to open a local PHP file, Firefox asks me what program I want to use to open it. I have no idea how to proceed at this point.

View 7 Replies View Related

Ubuntu Servers :: SSL Only On Apache2 Virtual Host?

Apr 16, 2010

I currently have a virtual host setup to accept SSL connections as follows:

Code:
<VirtualHost *:443>
DocumentRoot "/var/www"
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.pem

[Code].....

How would I change it so that it can only be accessed via HTTPS ??

View 4 Replies View Related

Ubuntu Servers :: Can't Load Apache2 Mod_security

May 4, 2010

I'm attempting to use mod_security with apache2 but it doesnt seem to load. Running Ubuntu 9.10.

Code:

$ ls -a mods-enabled/
. authz_host.load dir.load php5.load
.. authz_user.load env.load setenvif.conf
alias.conf autoindex.conf mime.conf setenvif.load

[code]....

View 1 Replies View Related

Ubuntu Servers :: Apache2 - Cannot Parse PHP Files

May 5, 2010

I have apache2 installed along with php5 and mysql5.0. I have installed them by themselves along with just installing the full LAMP install through terminal. My problem is that I cannot parse php files, it will just download them instead. I did change my apache server to nick/projects (nick is my username). If I navigate to localhost/index.html it works fine but will not parse the php files I have put there. I also have rails working fine in that folder too using apache2.

View 7 Replies View Related

Ubuntu Servers :: Apache2 Reverse Proxy ?

May 11, 2010

A first server with apache2 installed and configured as reverse proxy, that works great, with this version:

That works mostly, but fail with an oma (outlook mobile access) redirection

It works for all reverse sites hosted, but when we try to connect to oma using a nokia phone, it fails.

I can see in access.log that it hangs on FolderSync istance.

I've used wireshark to sniff packets, and in oma server I can see only three way handshaking coming...

My doubt is: when I'll upgrade working server, also it will not work anymore...

Configurations are the same (I've copied /etc/apache2 folder from running one to new one).

View 1 Replies View Related

Ubuntu Servers :: Using Vsftp And Apache2 For Website?

Jun 19, 2010

I recently put a new install of Ubuntu 10.04 Server on an old dell I had sitting around the house with the intention of using it as an all purpose server machine (website, teamspeak, ftp, storage, etc.). I am running apache2 for the web server and want to use vsftpd to edit the website contents through FTP. The issue I am running into is that vsftp doesn't have permissions to write /var/www/ which is the default website directory. The flip-side issue is that apache2 doesn't have permission to access the /home/user/ directory which vsftp has permissions to write.

Because I am only interested in running a single website (no virtual machines/no extra IPs) fixing either apache2 permission or vsftpd permissions would fix the problem.Changing DocumentRoot to /home/user/ will make apache2 point to the new directory but I get a 403 error. I have no idea how to change application permissions.I need to use to give permissions for vsftp to write /var/www/ (vsftpd.conf is configured to allow write in home directory) OR the command I need to give permissions for apache2 to access /home/user/? I assume it is a chmod command but I have never used this and don't know what the permission codes (777, etc.) do in terms of giving me the necessary andsufficient app permissions. I don't want to give the app. too much access and risk creating some security flaw.Here are my vsftpd.conf, default (website config file) and apache2.conf.apache2.conf

Code:
#
# Based upon the NCSA server configuration files originally by Rob McCool.

[code]...

View 3 Replies View Related

Ubuntu Servers :: Apache2 Link To FTP Assistance?

Jun 22, 2010

I have an apache2 web server running on ubuntu server (Ver 2.6.27-7-server) running just a basic Mediawiki site for our group internally. It's just a basic info wiki, and it also hosts a bunch of large .iso files for the group to download if they need them. The latter part is where my latest issue has come up, and I'll try to keep it brief.

We moved all the .iso files to a FTP server that we just got up and running, since the FTP site has goads more space available on it's NAS shared drive than my wiki server whose hard disk is rapidly shrinking with all the .iso files on it. Now, the FTP server is outward facing unlike the wiki server, so obviously it has to have user/password authentication unlike the wiki, which is only internal.

I want to be able to link from the wiki server directly to the files on the FTP server without the user being prompted for a password, while still keeping a decent transfer speed.

So far I've tried 2 methods that have "worked".

First, I mounted a local folder on the wiki to the FTP server using CurlFTPfs by adding a line in the /etc/fstab file.

Code:
curlftpfs#iso:ftpiso@172.17.12.19 /var/www/downloads fuse allow_other,uid=www-data,gid=www-data 0 0

This actually works perfectly, I can link to the files and never get prompted for credentials, however the transfer rate is abysmal. under 100kb/s over a gigabit connection, rather than 10MB/s I can get if using an FTP client directly.

The other method I used was enabling the mod_proxy_ftp and simply redirecting to the FTP using the wiki server as a proxy.

In the virtual host file:

Code:
ProxyPass /download ftp://iso:ftpiso@172.17.12.19
ProxyPassReverse /download ftp://iso:ftpiso@172.17.12.19

This speeds things up a little ~230kb/s however I still get prompted for credentials.

Is there any way possible to get it to work like the CurlFTPfs method but still get decent network xfer rates?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved