Ubuntu Servers :: Cgi Doesn't Work With New Apache Site Configuration?

Mar 24, 2010

I installed apache on my local machine to test my sites. I have one problem:I created a new site configuration in /etc/apache2/sites-available and enabled it. The problem is that cgi is not working, it just prints the content of the files. (The default location for cgi, /usr/lib/cgi-bin works without problem.)Here is the content of the site configuration file:

Code:
<VirtualHost *site1:80>
ServerAdmin webmaster@localhost

[code]....

View 4 Replies


ADVERTISEMENT

General :: Cgi Doesn't Work With New Apache Site Configuration

Mar 24, 2010

I installed apache on my local machine to test websites. I have one problem: I created a new site configuration in /etc/apache2/sites-available and enabled it. The problem is that cgi is not working, it just prints the content of the files. (The default location for cgi, /usr/lib/cgi-bin works without problem.) Here is the content of the site configuration file:

Code:
<VirtualHost *site1:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/site1/public_html
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
[Code]...

View 1 Replies View Related

Ubuntu Servers :: Created A New Virtual Host In Apache Using Webmin - Doesn't Work ?

Nov 14, 2010

I created a new virtual host in Apache using Webmin and am having trouble getting it to work. When I created it, I opted to create the config file as a "New file under virtual servers directory /etc/apache2/sites-available". So now I have a default config file /etc/apache2/sites-available/default and a new one created by Webmin at /etc/apache2/sites-available/webmin.1412323.conf. It seems like the settings in that new Webmin config file aren't being picked up by Apache -- when I try and browse to mywebsite.com it shows my root /var/www folder, not the subdirectory /var/www/mywebsite.

Is there a way I can tell Apache to include the new Webmin config file for the virtual host or should I just copy the directives into the default file at /etc/apache2/sites-available/default? It seems like Webmin should automatically configure Apache to work with any newly generated config files.

View 4 Replies View Related

Ubuntu Servers :: Apache 2.2 - My Site Cant Be Seen On Lan

Jul 29, 2011

Im trying to just set up my web page so it can be seen on my local home Lan (then Ill try to get it on the internet). I can see the site it on my pc but other network users cant.

They can ping my computer but cant telnet to it on port 6060 (thats the one is set the server up on)

What's wrong with my configuration its mostly the default with a few changes that I hoped would make the site work.

My ip 192.168.1.10

Here is the sites-available default file

Quote:

View 7 Replies View Related

Fedora Servers :: Apache Will Not Pick Up More Than One Site

Apr 13, 2010

On Fedora 12, I guess this is a security setting. How do I get Apache to pick up more than one website in my document root directory. It only picks up one and denies me permission to view the others on my document root directory. This problem doesn't exist in XAMMP. How do I go about it please.

View 5 Replies View Related

Ubuntu Servers :: Setup A Home Web For Personal Site Using 11.04 And Apache

Jul 23, 2011

I am trying to set up a home web server for my personal site using Ubuntu 11.04 and Apache. I have set up a user called www and given it FTP access to its home area (/home/www) using vsftpd. I then edited /etc/apache2/sites-available/default and set the DocumentRoot directive to /home/www. When I made a test index.html file in that directory it worked fine. Then I FTP'd to the server (as www) from another PC and uploaded the site files. Now when I try to access the site I get an error 403 (forbidden).Obviously I'm doing something wrong here but I'm not sure what. What should I do to fix this.

View 2 Replies View Related

Ubuntu Servers :: Get Sobdomains To Work Fine On A Test Mache, But Domain/site To Work Due To Lack Of DNS Support At The Moment?

Feb 6, 2011

I'm not to sure this is the place I should post this, but couldn't find any place for it to fit. So here is the deal..I am running 10.10 with the standard LAMP setup. I am running a drupal 7 site no problems. What I need to do is run a multi site sub directory. (domain.com/newsite). So far the best I can do is get a directory index of the second site (domain.com/newsite), but cant run the installer. (I did the symbolic link to the doc root of the drupal install.)If I type in the url domain.com/newsite/install.php I get not found. I placed an index.html test page and it renders fine. I think I'm close but just not there yet.

Any ideas from anyone? I can get Sobdomains to work fine on a test mache, but sadly I need the domain/site to work due to lack of DNS support at the moment. I tried to get some info from the drupal forum, but everything always points to subdomin setups. I also posted over there, but it seems like the forums have very little support and are a bit on the slow side.

[Code]...

View 9 Replies View Related

Ubuntu Servers :: Openvpn Site-to-Site : Impossibile To Ping Client On Subnet?

Jun 25, 2010

I have to ubuntu machine (9.10 and 10.4) with a openvpn tunnel between them.This is the situation:

Code:
NetworkA 192.168.0.0/24
|
UbuntuA br0:192.168.0.3 (openvpn bridge between eth0 and tap0)[code].....

UbuntuA has one only interface etho and there are two openvpn instance: one bridge istance with br0 and another instance with tun0.
UbuntuA is not the gateway for networkA. UbuntuB is the gateway for NetworkB.I need to comunicate between pc on networkB e those on networkA.This is the "ping situation" (no pc tested has an active firewall):

ubuntuA vs ubuntuB: OK
ubuntuB vs ubuntuA: OK
pc on NetworkA vs ubuntuA and ubuntuB: OK[code].....

View 6 Replies View Related

Ubuntu :: Apache + PHP Doesn't Work In 11.04 - Phpinfo Gives 500

May 30, 2011

I have installed apache+PHP, but even phpinfo gives 500. CLI PHP works fine. What can be the cause?

View 1 Replies View Related

Ubuntu Servers :: Apache SSL Configuration Troubleshooting?

Jul 19, 2010

I am trying to configure Apache on my server to work with ssl, but everytime I visit my site, I get the following message in my browser: SSL connection error. Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.

Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. Just some background on the situation: I am using Ubuntu 10.04 desktop edition. I installed apache by installing zend server (it installed apache automatically). I then installed openssl. Non-https pages work fine on the site. I tried getting trial certificates from multiple certificate sites but nothing is working (same error). I was previously hosting my site on another server on which ssl worked just fine. I also tried using the key and crt file from that server, but I got the same error. The domain name and IP are still the same though. My SSLCertificateFile and SSLCertificateKeyFile are pointing to the correct directory and files.

View 3 Replies View Related

Programming :: CGI Written In C Doesn't Work In Ubuntu + Apache

Oct 21, 2010

I just tried the simplest 'Hello world' example as below.

Code:
#include <stdio.h>
int main()
{
printf("Content-type: text/html
");
[Code]...

Code: gcc -o hello.cgi hello.c Also grand a+x to the file and enable *.pl and *.cgi for cgi-script at apache2.conf The server reminds me 'Internal Server error' The weird thing is that I have a perl cgi in the same place with same privilege, which works perfect...

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Apache Configuration - Designing Webpages In PHP

Feb 4, 2010

I'm using ubuntu 9.04, I want to design webpages in PHP for that I installed apache 2 on my machine. I'm using my mobile to connect to the internet when ever the mobile is connected and the wired connection established the server running properly. But when the wired connection disconnected my browser page didn't show the localhost home. How can I configure the apache on my machine.

View 3 Replies View Related

Ubuntu Servers :: Basic Configuration To Execute PHP Under Apache

Apr 7, 2011

On Ubuntu 10.04 with Apache and PHP installed, I can execute a test.php file

Code:

If I specify it on my Apache web server

Code:

However, I am not able to configure the web site to execute index.php automatically.

These are the settings I have.

Code:

View 2 Replies View Related

Fedora Servers :: Apache Httpd Doesn't Start On 11

Sep 3, 2009

I have just installed Fedora 11 on a "fresh machine" and everything works ok, except for Apache httpd
the message seen in the error_log is the following: Name or service not known: mod_unique_id: unable to find IPv4 address of "myserver"

View 14 Replies View Related

Fedora Servers :: Apache Doesn't Resolve Hosts?

Nov 2, 2009

Recently my home PC crashed and I had to re-installed it. I put a "clean" install of Fedora11, then copied my /home directory and some other stuff over from the old installation.I have a couple of PHP scripts I wrote, and one of them stopped working. It uses cURL, and when I enable error tracking I get:cURL error number:6cURL errorouldn't resolve host 'www.host.com'I started digging around and I found out Apache doesn't resolve anything at all, so it's not only a cURL problem. For example,

$ip = gethostbyname('host.com');
echo $ip; die();

returns "host.com" and not an IP address.My best guess so far is that Apache has no access to the DNS service (from command line and in browsers everything resolves). had a suspicion it's a SElinux issue and disabled it, but that didn't change anything.I found some old forum posts mentioning problems with chroot-ed Apache, but I haven't done anything to mine and in any case couldn't figure out what the problem was, or the solution, so I'm stuck.

View 7 Replies View Related

Fedora Servers :: Apache Configuration And HTTPD Services

May 29, 2010

I have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??

View 6 Replies View Related

Ubuntu Servers :: Modify Apache IPv4 Configuration To IPv6 Config?

Feb 25, 2011

I want to modify apache IPv4 configuration to IPv6 configOn both windows and ubuntu.

View 1 Replies View Related

Ubuntu Servers :: How To Set Up Apache To Work With DynDNS

Jul 2, 2010

I do not know a lot about Ubuntu Servers, but I made one. I wanted to set up a web server using Apache and DynDNS. So far, I have created an account on dyndns.com and installed apache. I also installed another program (i dont remember the name) that had something to do with DynDNS. Right now, I can access the page on my server by using eLinks (text based web browser) and going to the address (myaddress.dyndns.org). If I try to access it from any other computer, I get a page that says 'Unable to Connect'.

View 1 Replies View Related

Server :: Change Of Apache Httpd.conf Doesn't Work On CentOS/RedHat?

Jun 30, 2010

I've been trying to make install apache 2.1.8 and php 5.2.3 and work on them. After updating and installing some dependence files, apache and php could both be installed.

Then I tried to configure them. I added the following content to the end of Apache httpd.conf:

Code:

Then I run /path/to/apachectl start, and saw the message:

Quote:

Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

Then I remembered that I didn't include the rewrite module while making install apache. So I removed the 2 lines I just added to httpd.conf.

But, after running /path/to/apachectl stop and start again, I could still see:

Code:

When I use firefox to open http://host_ip:8080/, I could see "It works!". But when I open http://host_ip:8080/hello.php (the file is already under htdocs), firefox said
Quote:

Failed to Connect

Why and how to solve it?

I noticed that for some stupid reason, the conf file wasn't updated at all and the 2 erroneous lines were still there.

View 91 Replies View Related

Fedora Servers :: Apache Php Upload Not Work

Dec 24, 2010

I've write a php code to upload files. by move_uploaded_file. I've given 777 to the folder. But file upload unsuccess, error log show no premission. I test the code in Centos it wotks. I change the dest folder in Fedora to /tmp it works, but it only work on /tmp. neither /tmp/abc nor /temp. I guess it's a setting problem on apache or php. I also copy http.conf and php.ini from Centos, but mod_file_cache and mod_mem_cache not find in Fedora.

View 2 Replies View Related

Ubuntu Servers :: Access Web Site When Site's Domain Name / User's Local Server's Domain Name Are Same

Feb 18, 2010

In the office there is a local network with samba+openldap PDC. The local domain name is company.net. The company desided to create a corporate Website on a remote hosting and desided that the site's domain should be company.net which is same as local network's domain name. So now it is not possible to reach that corporate website from within the company's local network because, as I guess, bind9 which is installed on above menioned PDC looks for company.net on a local webserver. Is there a possibility to let people from this local network browse the remote site?

View 1 Replies View Related

Fedora Servers :: Apache On Local Network Does Not Work

May 23, 2010

The situation is this, I have one of those router cable/wifi. So I have the main pc plugged to the router, the router give local ip for all my network (the others computers connects via wi-fi). Main pc starts up apache under Fedora 12, http://localhost.. works, http://127.0.0.1.. works, http://192.168.0.13 (my local ip) works. But when I try to connect to http://192.168.0.13 from another pc of my local network, it doesn't work. The others pcs are running windows vista.

I go another computers ping 192.168.0.13, responds!
From the main computer ping 192.168.0.14, responds!
So, there is communication between the machines, but I cant get to work under apache. I tried opening port 80 with iptables, i tried changing apache's port to another.

View 10 Replies View Related

Debian Configuration :: Can`t Log In - Keyboard Doesn't Work ?

Jun 8, 2010

I cant log in as user. My keyboard doesn't work, not even ctrl+f1. So i cant get dmesg....Only thing that is working is alt+print screen+REISUB.

When i booted in safe mode from grub i can log in but only if i enter my root password. And then do /etc/init.d/gdm start.

If i tray to continue straight to gdm in safe mode my keyboard is not working so i can`t log in.

Day before i notices`d that i cant log in with ctrl+f1. When i tray i get this masage madone-desktop login: madone /bin/sh : cant open madone

View 1 Replies View Related

Debian Configuration :: Wireless In KDE Doesn't Work

Sep 10, 2011

I have an Atheros wireless USB dongle that will connect to my Wifi network just fine in Gnome but in KDE doesn't. I've read through the http://wiki.debian.org/WiFi/HowToUse and have installed all packages and tried all methods noted there but still can't get the wlan0 to work at all in KDE. Is wireless in KDE & Debian Squeeze useless?

View 3 Replies View Related

Debian Configuration :: DRI 3 Doesn't Work With IGP - Missing Packages?

Nov 20, 2015

So, as per Arch Linux's wiki, I tried to make some optimisations to the intel driver through setting it up in Xorg.conf (or as advised by that wiki article, in '/etc/X11/xorg.conf.d/20-intel.conf' ), but I've ran into trouble enabling DRI3. Here's my current config file:

Code: Select allSection "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "SNA"
   Option      "DRI"    "3"
   Option      "TearFree"    "true"
EndSection

So far everything works fine, I haven't seen any noticeable tearing, nor did I had any problems with any graphics-intensive programs I run, but there's a slight problem with the DRI3 part as indicated by Xorg's logs:

Code: Select all[    26.556] (II) Loading sub module "dri2"
[    26.556] (II) LoadModule: "dri2"
[    26.556] (II) Module "dri2" already built-in
[    26.556] (==) Depth 24 pixmap format is 32 bpp
[    26.616] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[    26.616] (==) intel(0): Backing store enabled

[Code] ....

First of all it still mentions the DRI2 driver, is this supposed to happen, or did something go wrong? Also it complains that it cannot find a file, which I can't figure out which package it belongs to, and taking a quick search around the interwebs hasn't produced anything useful...

The IGP is the CPU, which is actually a i5-4460... which according to Wikipedia it has a HD Graphics 4600 GPU.

View 3 Replies View Related

Debian :: Squeeze Usb Wlan Configuration Doesn't Work

Feb 14, 2011

My net-book is working properly with Debian squeeze 2-6-32-5-686, only the wlan does not work. After typing lsusb I have got the message: lsusb : Bus 002 Device 002 : ID 160a:3184 VIA Technologies, Inc. VIA VNT-6656 [WiFi 802.11b/g USB Dongle]

So I obtained the driver package : VT6656_Linux_src_v1.19_12_x86. I followed the instructions ( make install... ) - but the result is only a lot of error messages. Mayby I am using the wrong driver package for the squeeze kernel - I don't know.

View 9 Replies View Related

Server :: Yum-updates Configuration - Option Doesn't Work At All

Dec 5, 2010

I can see that in yum-updatesd configuration i can use smtp_server to rely mail notifications as per below outputs from man pages smtp_server SMTP server to use when sending mail, host or a hostort string. Defaults to localhost:25. The problem that this option doesn't work at all and it rely into the local MTA not the one set on the smtp_server

View 2 Replies View Related

Debian Configuration :: 8.1 - Keyboard Doesn't Work On Resume From Suspend

Jun 19, 2015

I'm running Debian 8.1 KDE on a 2007 dv6 laptop. Model number is worn off. lol but the specs:

Intel i3 first gen m 330
4GB RAM
Intel (ironlake) graphics

First off, closing the lid to my laptop doesn't trigger suspend, or anything no matter what I set it to in power options.

I can suspend using "systemctl" or suspend from the "Leave" menu, but upon turning my computer back on, my touchpad and keyboard don't work.

Sometimes, my touchpad will start working after about 15 seconds, but the keyboard doesn't come back. I have to hard reset.

I have a feeling it's something to do with systemd, but I'm not super proficient in linux. Just an end user who is friendly with a terminal.

View 6 Replies View Related

Debian Configuration :: Postfix Multi-instance Doesn't Work

Jun 21, 2015

i created a second instance of postfix.It isn' t the first time that i made this procedure but with debian i had a lot of problem.I think that the problem is chroot configuration of postfix .In the first i had two problem smtp “fatal: unknown service: smtp/tcp” and the second instance was enable to make nslookup of domain.I copied the necessary file in /var/spool/postfix-second-instace and i solved the errors.Now the problem is that there aren't error in log file but connect to xxx.xxx.net[yyy.nn.yyy.yyy]:25: Connection timed out for all connection. and the email are all in defer directory and the second instance doesn' t send emails.

View 4 Replies View Related

Debian Configuration :: BCM4313 802.11bgn Doesn't Work In Jessie

Mar 27, 2016

Debian configurating, so I try to use wifi adapter, but it doesn't work. I have installed Debian Jessie from netinst CD. To reach perfect speed no options were selected. After I installed xfce4 and xfce4-goodies.I follow some different instructions and no dice. Wicd show me no avalable wifi connections. used Ubuntu 14, Ubuntu 12, etc. and I didn't have any problems with wi-fi connections. Some outputs of comands...

Code: Select allsatyva@meliorD:~$ cat /etc/debian_version
8.3
Code: Select allsatyva@meliorD:~$ lspci | grep 4313
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)

[code]....

View 4 Replies View Related







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