Ubuntu Servers :: Execute "./configure - Prefix=/usr/local/apache2 - Enable-so"

Jun 12, 2010

I am bit lost with configuring my apache2 web server. From the book I am using it says for me to configure apache2 to support PHP I need to execute "./configure --prefix=/usr/local/apache2 --enable-so". From what I can determine Apache2 is located in "/etc/init.d/apache2" folder. I used a Ubuntu 9.04 distro (I386 Server Ed.) to install the server. I added "Kubuntu-desktop" for viewing. Then performed web upgrade to Karmic 9.10. All went well !! Question is; Where do I execute a command to enable PHP support? Once again, the command is to look something like "./configure --prefix=/usr/local/apache2 --enable-so"

View 2 Replies


ADVERTISEMENT

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 :: Configure A Few VirtualHost In Apache2?

Aug 10, 2010

I applogies if this doesn't fit or if this is right in from of my face but, I'm a bit confused.I'm trying to configure a few VirtualHost in apache2. I currently a default virtualhost and 2 other sites. No matter which domain I visit I still get the default page.. My Confusion is, I've been reading and some places seem to say that my virtual hosts should be in /etc/apache2/sites-enabled/*Config File* and other seem to say it should be in /etc/apache2/httpd.conf what the awsner... I've tried both ways with no success .... If I put NameVirtualHost in httpd.conf I get an error saying their are no virtual hosts.

View 2 Replies View Related

Ubuntu :: Bash: ./configure: No Such File Or Directory When Run The Command ./configure --prefix=/usr

Apr 4, 2010

I am trying to follow this tutorial below so that I can get Text to the right of icons on the GNOME desktop. [URL] Everything so far has worked fine, except when I get to step 3 where I compile Nautilus. When I try to run the command ./configure --prefix=/usr It tells me bash: ./configure: No such file or directory

View 5 Replies View Related

Ubuntu Servers :: Configure Apache2 To Proxy That Folder To Jetty Using Mod_proxy?

Mar 20, 2010

I have a php app set up in the default virtualhost, and want to add a Grails app. The grails app runs on [URL] and I want to configure apache2 to proxy that folder to Jetty using mod_proxy.

Module is enabled

Code:

$ sudo a2enmod proxy
Module proxy already enabled

[code]....

Quote:

[Sun Mar 21 00:14:56 2010] [warn] proxy: No protocol handler was valid for the URL /mailscan. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. My apache2.conf contains no LoadModule lines, and a2enmod says it's already enabled. Does Ubuntu Desktop (Karmic) use the DSO versions of modules, or did I miss something else? I'm aware I should also use mod_proxy_html to make sure only the "portless" version of the address is outputted, but I can fix that later!

View 1 Replies View Related

Red Hat / Fedora :: Configure Command On Using Prefix --with-php?

Jul 25, 2010

I'm tryieng to install some software which requares php. I typed: Code: ./configure --with-php=/usr/include/php But in the end of configuration I get this warning: Code: configure: WARNING: unrecognized options: --with-php on Ubuntu systems it is okEverything installs ok. But on fedora I can not configure my software with php

View 3 Replies View Related

Ubuntu :: Apache2 + Tomcat6 - Jsp Does Not Execute

Jan 11, 2011

I am trying to setup Ubuntu with Apache2+Tomcat6. I can get the site up and running, however when I have a jsp file it does not execute, instead it just prints the full jsp to browser.

I am checking if there is a configuration issue that may be missed.

sudo /etc/init.d/tomcat6 status # shows fine

/etc/apache2/sites-available has a file for my site containing valid DocumentRoot

/home/user/sitename/webapps/examples
/home/user/sitename/webapps/examples/jsp
/home/user/sitename/webapps/examples/jsp/sample.jsp contains below text
<%= "hello" %>

When above page is visited in browser, it shows full html tags instead of displaying the output. It displays static pages fine.

View 1 Replies View Related

Ubuntu Servers :: Configure (10.04) To Use TLS - Get "TLS Not Available Due To Local Problem"

Nov 1, 2010

I'm trying to configure my server (Ubuntu 10.04) to use TLS when communicating over SMTP. I got a lot configured however when I try to STARTTLS I get "TLS not available due to local problem".

View 2 Replies View Related

Debian :: Enable The Apache2 Module / A2enmod?

Feb 25, 2011

The default Server root of the apache2.conf is "etc/apache2". But the actual "It works!" file is in /var/www/apache2-default

I edit the apache2.conf file the Server root line then restart the scrip at /etc/init.d/apache2
But the webpage still point to "It works!"

Anyone have idea how to change the Document root?

View 3 Replies View Related

Server :: Apache2/Worpress Rewriting Url To Avahi's .local

Dec 18, 2010

I've got a home network that uses avahi's magic '.local' name service.

One computer is a server running Debian Testing/Apache2/Wordpress 3.0.x.

All the computers in the house have avahi-compatible service, so reaching the server is easy for computers.

I'd like to use my phone via the wireless lan to use the wordpress installation. The gotcha is, I can enter the ip address and get to the login page. The next page, the ip address is re-written to the avahi host name.

As an example,

1. I enter 192.168.11.110:100 and I land on the default page.

2. Click on a page of content.

3. URL is rewritten from the numeric address to the avahi, text address.

4. This is a 404 error on the phone. The laptops handle it just fine.

How do I stop apache2 from rewriting?

View 1 Replies View Related

Ubuntu :: Rc.local Will Not Execute - Error

Jun 1, 2010

I have written a device driver and would like to load it automatically and generate the device nodes. I wrote a config script that I would like to execute at boot and added it to rc.local. It will not run at boot up and I have spent hours researching. The file is below:

#!/bin/sh -e
#
# rc.local

[code]....

If I execute this script from the command line, it works fine. But it does not work at boot up. The echo command is never executed. The link S99rc.local did not exist in any of the runtime directories. I created S99rc.local in /etc/rc2.d and linked it to ../init.d/rc.local. This did not help. The link /etc/rc2.d/S20rc.local already existed.

View 3 Replies View Related

Red Hat :: Re-execute Rc.local File Only

Dec 30, 2008

I am using RHEL 5 and i have configured a daemon that starts automatically when system boots, i have written its startup script on /etc/rc.d/rc.local file and it executes successfully but the problem is that if that daemon stops running (due to any reason) i have to restart/reboot the whole server so that the daemon runs, i need to know that is there a way that we can just re-executes the /etc/rc.d/rc.local file while the whole sytem remains as it is.

View 4 Replies View Related

Programming :: Shell Can't Execute Through Ssh But Local Well?

Jan 10, 2010

The two host one is Aix 5.3 and another is Suse 10sp2 the both have the same script which including the following parts:

if [ `date +%a` = "Mon" ];then
if [ "$RESULT" = "" ]; then
echo "The `hostname` $DATE ok"

[code]...

View 1 Replies View Related

Ubuntu Servers :: Local Users Are Sending Mails Through Ms Outlook Using Local IP?

Jul 26, 2011

I have a postfix mail server on ubuntu 10.04 lts behind a router. so all local users are fetching/sending mails through ms outlook using local IP. Sometimes when internet goes down and any mail send then it bounced back immediately saying domain not found. Can u please tell me how i configure to hold all mails in postfix server rather than bounce when internet fails and will pass through when restored the internet around 15-30 minutes?

View 2 Replies View Related

Red Hat :: ./configure --enable-mysql The --enable-mysql Does Not Work: Configure

Sep 23, 2010

I am trying to install the IDS component barnyard2 on RHEL 5. I am following the snort enterprise insall document by Patrick Harper. For installing barnyard, after the tar command it says to perform a ./configure --enable-mysql The --enable-mysql does not work: configure: WARNING: unrecognized options: --enable-mysql --with-mysql does work. Is there a difference? Next, using --with-mysql, I get a failure at the end:

ERROR! Libpcap library/headers (libpcap.a (or .so)/pcap.h) not found, go get it from Open Source and Linux Forums dot tcpdump dot org TCPDUMP/LIBPCAP public repository or use the --with-libpcap-* options, if you have it installed in unusual place. Also check if your libpcap depends on another shared library that may be installed in an unusual place I do a find / -name libpcap* and get:

/usr/share/doc/libpcap-0.9.4
/usr/lib/libpcap.so.0.9.4
/usr/lib/libpcap.so.0
/usr/lib/libpcap.so.0.9
/usr/lib64/libpcap.so.0.9.4
/usr/lib64/libpcap.so.0
/usr/lib64/libpcap.so.0.9

How do I tell the configure to use one of the above? I don't understand how to use the --with-libpcap-* option?

View 11 Replies View Related

Programming :: Unable To Configure Apache2 With Python Support

May 31, 2011

I'm unable to configure the apache2 with python support. I have done the configuration in the following method, but unable to start the python cgi support: I have installed the libapache2-mod-python it has installed python.load in the mods-available directory. In the apache2/sites-available/default file, I have added the following lines.

[code]...

when I request for a python script in the py folder. I get a 404 Not found error.

View 1 Replies View Related

Ubuntu Servers :: Grub Error On Hardware Raid 1 / Default Root Device Shows That Prefix=(hd0,1)/grub?

Apr 13, 2011

I'm currently setting up a dell server with hardware raid 1 on sas 6r. i got 4 sas installed on the server and configured to raid 1 as stated below,
array 1:
slot 0 & 1

array 2:
slot 2 & 3

during the installation, the installer detect the array 2 as sda and array 1 as sdb.. so i proceed with installation on array 2. after completed the installation, the first reboot lead me to a 'grub-rescue" prompt. by following the guide at url Mode, i've noticed that the boot folder has changed to (hd1,1), which i believe it has changed to sdb1. default root device shows that prefix=(hd0,1)/grub.

View 3 Replies View Related

General :: Seeking Shortcut To Execute A Program With A Supplied Local Path?

Sep 14, 2011

A program requires local path property to perform correctly.I'm seeking shortcut command to execute a program with a supplied localPath For example, cd /usr/local/blogrmis/usr/local/blogrmis/remote & remote program requires local path @ /usr/local/blogrmis to run.is there any shortcut which i can do it in 1 line?

View 2 Replies View Related

Server :: Configure Apache To Execute Php Scripts / Pages?

May 14, 2009

Most of my googling odysseies lead me to articles which talk about compiling apache & php from the source as this is touted to be more flexible. But the problem we have is this...we already have an apache 2 web server running. Now how do we serve php pages of it.

View 1 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

Jul 23, 2010

I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).

View 9 Replies View Related

Ubuntu :: Unable To Retrieve Local Discovery Mode / Enable This?

Jan 20, 2010

Ubuntu Community, I have just switched to ubuntu 9.04, from openSuse.

Am programming with bluetooth. I get the following error. code...

View 3 Replies View Related

Ubuntu Networking :: Cannot Enable Mod Rewrite On Local Apache Server

Feb 22, 2010

I have a base install of a LAMP server on my system, and I'm trying to get mod_rewrite working on that local server (the directory of the local site is [URL]. I added this to my /etc/apache2/httpd.conf file, which was blank before I did so:

Code:
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
[code]....

It's supposed to redirect everything except the listed directories to index.php, which is used as a front controller. However, if I type in [URL] <any other page> I get a 404 error.

View 2 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

CentOS 5 :: Enable 5.5 For Remote-to-local X Display

Sep 1, 2011

my local box is centos 5.5 running gnome.

I have a eucalyptus instance (vm) running an older version of centos (5.3?). As a vm it has no graphical display. I'd like to run a graphical app there so that it displays back on my local machine.

Used xhost locally and it shows the remote IP (eucalyptus instance) as enabled. On the remote side (eucalyptus instance) I set DISPLAY with:

export DISPLAY xx.xx.xx.xx:0.0

where xx.xx.xx.xx is my local ip address. Oh, I did install X in the vm instance (yum groupinstall "X Window System"). X is installed but not running there (does the point of origin of the x app need to have X running as well - and what does this mean in a vm which is a non-graphicla environment?).

Anyway, I try to run (from remote to local) xclock and get the typical

Error: Can't open display.

View 3 Replies View Related







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