Ubuntu Networking :: Apache Error But Only Via Network

May 4, 2010

I have an Apache set up to server some static html and php files which all work fine. The php and statics include image links which fail, but only when accessed over a real network - if I connect to http://localhost or http://[myIP address] from the system itself, I get images just fine. The failure in Firefox is "The image http://blah-blah.png cannot be displayed because it contains errors" (any image, have used binary diff to ensure no copying errors)

Some details:
The system is running Ubuntu 10.4, with all the latest patches, and apache 2.2.14-5ubuntu8
Doing wget of a php/html file results in precisely the correct content being saved. Doing the same with the PNG I get the file, but it has approx 294 bytes of garbage before the <89>PNG, which includes the http header:

(binary stuff cut)HTTP/1.1 200 OK^M
Date: Tue, 04 May 2010 13:28:41 GMT^M
Server: Apache/2.2.14 (Ubuntu)^M
Last-Modified: Tue, 04 May 2010 08:29:36 GMT^M
ETag: "9fb4f-1004-485c082855fd1"^M
Accept-Ranges: bytes^M
Content-Length: 4100^M
Keep-Alive: timeout=15, max=100^M
Connection: Keep-Alive^M
Content-Type: image/png^M
^M
<89>PNG^M...

I have an Atheros Communications AR8131 Gigabit Ethernet controller using DHCP for network config. Everything else seems to be working exactly as expected. I re-iterate, if I connect from the system to it's own IP address. I have tried connecting from various clients including non-Linux ones, images get served with garbage up front I have no idea where to start debugging this (having worked out what is really happening).

View 7 Replies


ADVERTISEMENT

OpenSUSE Network :: Apache Error Message - Request Without Hostname

May 4, 2010

Anyone know what this signifies in the Apache logs files:

Code:
[Tue May 04 20:56:06 2010] [error] [client *******] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Tue May 04 20:56:06 2010] [error] [client *********] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Tue May 04 21:05:18 2010] [error] [client ********] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Tue May 04 21:05:18 2010] [error] [client ********] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)

View 2 Replies View Related

OpenSUSE Network :: YaST2 Exposes Apache HTTPD Error Log

Nov 14, 2010

I am unable to examine Apache httpd error log from YaST2 because the lines are too long; the browser just truncates them and thus it does not show any description. The only option is to save it. However, when I chose that option, YaST2 encourages me to save it in /tmp, and as soon as I do that, the log becomes accessible to every user!

View 5 Replies View Related

Ubuntu Networking :: Apache 2 Only In Local Network?

Mar 4, 2010

How to make apache 2 accessible only on the local network? I have installed it in the easy way (but not the best, probably):

Code:

sudo apt-get install apache2 php5 php5-mysql mysql-server

And now I want to make apache only accessible in my local network.

View 2 Replies View Related

Ubuntu Networking :: Cannot Access Apache Server Pages From Outside Local Network

Jan 26, 2011

I'm trying to setup an Apache webserver on my computer in order to practice HTML5/CSS3 for an upcoming competition I'm in. I'm able to access my site from inside my network, but I cannot outside my network. I've had several people try, and they all report that the server just times out. I'm running Ubuntu 10.04 and Apache 2.2.17

My site is at [URL]

Here is the output of ifconfig

Code:
eth0 Link encap:Ethernet HWaddr 00:26:22:50:0f:0a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

[Code]....

View 4 Replies View Related

Networking :: Apache Server - Host Local Website Within Network

Jan 11, 2011

I am trying to host a local website(an wiki application) within a network. Is it necessary that all the files I need to upload should be in the var/www?

View 8 Replies View Related

Ubuntu Networking :: Using Network Manager PPTP Client While Accessing SSH / Apache From Public Internet

Oct 27, 2010

I've searched the forums (250 thread limit) for a fix on this, but all the questions seem unanswered or unrelated. My situation is this: I'm running Ubuntu x64 10.10 'Maverick'. I have a cablemodem connection for my Internet access. I have home network running on DD-WRT with the dreadful Linksys WRT54G series router.

My DD-WRT router is 192.168.1.1, subnet 255.255.255.0.
My Linux box is 192.168.1.61, subnet 255.255.255.0.

I have a VyprVPN connection set up successfully on Linux. Mostly everything works great, speed's fine, latency is what I expect it to be. Except... I also run an SSH server to remotely admin the box at port 22, an Apache server running over SSL at port 7001, and a Transmission web client at port 7002 (only secured by basic HTTP realms auth). All of these things worked before I got the VPN working, I'm of course using NAT at the DD-WRT router.

The endresult I am looking for, is to have the security and protection of the VPN (even if it's only perceived) for everything I do on this machine -- EXCEPT on Apache, the Transmission web panel, and the SSH server, which I want to access from the outside world. I have no firewalls running or configured, not even iptables, not even the SPI firewall on DD-WRT. All connections to the aforementioned services from the outside world timeout coming in to the Linux box. They all work from inside my home network (182.168.1.0/24). In case it's needed, he's my routing:

[Code]....

View 2 Replies View Related

Fedora Networking :: Port Forwarding For Apache Server At Home Network

Feb 7, 2010

I am setting up Apache (Fedora 12) inside my home network. From inside my home network I access it without any problem. I need to set it up to access it from internet. I have the following questions. Here is temporary setup for testing purpose.
Internet-->ADSL modem (SEIMENS Speed Stream 4200)---> Apache (Fedora 12)

1. Do I have to do any kind of ports forwarding on ADSL modem. (There is no option to do port forwarding on Modem) May be I need different Model of Modem??
2. I tired to Ping my real IP for modem form another computer from internet. I am even unable to PING the ADSL 's real IP. Why it is that?

View 6 Replies View Related

CentOS 5 :: Apache Error 403 - "Forbidden You Don't Have Permission To Access /bb/ On This Server" - 5.2 With Apache 2.2.3

Jan 20, 2011

I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:

1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)

I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..

View 3 Replies View Related

Networking :: Ssh Sessions Disconnect "network Error Software Caused Connection Abort" Error - Router?

Aug 6, 2010

Ive recently switched over to AT&T Uverse TV/Internet service and I've noticed that when I ssh into my linux( 2.6.18-194.3.1.el5xen CentOS) server I get disconnected. When I'm using putty it gives the "network error software caused connection abort" error. When I'm at work using one of our jump servers and ssh'ing from the command line it will freeze up from time to time but never disconnects. I think the problem is either with the OS or the new AT&T modem. At first I had my CentOS server using DHCP and it would disconnect within a few minutes after I ssh'ed. I switched over to a static IP and now it goes about 10 minutes before it disconnects. It doesnt matter if I'm actively typing or not, so it's not an inactivity issue. I have the firewall turned off on my laptop, and since the issue happens on multiple devices, including my iphone I dont think thats the issue.

I have iptables and selinux turned off/disabled so thats not it. In putty I have enabled Keep Alive(30 seconds) and it still disconnects. I opened the port on the modem to allow ssh for the IP of the linux server. Ive also recently reinstalled this server with CentOS so I can't compare with the previous internet provider as I didn't reinstall until after I switched over. BUT previous installs with CentOS 5.2 worked fine with the previous ISP. AT&T Modem is a 2wire 3800HGV-B

View 5 Replies View Related

CentOS 5 Networking :: Error - No Network Devices Available - 5.3

May 6, 2009

Right now I have this error

On my top right hand corner. No network devices available.

My distro is Centos 5.3

View 2 Replies View Related

Ubuntu Networking :: Error While Creating Wireless Network - Set Failed On Device?

Jan 16, 2010

I have been working on this for a while now and am absolutely stumped. Basically, what i am attempting to do is make my ubuntu box into a gateway for my network. I have everything working thru hard wire, but I simply cant get the wireless to work. No matter what I do, I cannot get my wireless card to transmit an essid and allow nodes to connect. I have tried assigning it in the interfaces file (shown below), and I have also tried manually modifying it using the iwconfig command. Here is the topology:

eth1: internet WAN
eth2: ethernet out to LAN
ra0: wireless out to LAN
Here is a copy of my /etc/network/interfaces file:
[CODE]
auto lo

[Code]...

View 2 Replies View Related

Ubuntu Networking :: Getting Bad Password Error From Wicd Network Manager On Encryption

Jan 1, 2011

Running ubuntu 10.10 here, brand new install/machine.USB wireless based on a realtek chipset. I spent a few days trying ndiswrapper, and now have the native driver up and running. I can see the network(s) but can't connect. If I encrypt the network, i get a bad password error from wicd network manager (All encypt. methods- Weps, WPA etc) If I open my wireless up with no encryption, i receive a "can't obtain IP" error.

View 1 Replies View Related

Ubuntu Networking :: Internal Error Java.net.NoRouteToHostException: Network Is Unreachable?

Aug 7, 2011

I am plagued by the following error when attempting port forwarded connections to my minecraft server. Port forwarding is good and test ok on router based firewall. No iptables entries. Natty N, all updates current.

[INFO] Disconnecting CascadianNW [/184.100.247.218:57787]: Failed to verify username! [internal error java.net.NoRouteToHostException: Network is unreachable]
java.net.NoRouteToHostException: Network is unreachable

Some discussion indicate jvm network connection issues related to ipv6, but they are old posts.

View 1 Replies View Related

Ubuntu Networking :: Bad Password - Error Message When Trying To Connect To WPA/WPA2 Wireless Network

Jul 5, 2011

I keep getting a "bad password" error message when trying to connect via wpa_supplicant to a wireless network (Apple Time Capsule WPA/WPA2 mixed).

Here's my wpa_supplicant.conf:

Code:

And the relevant line in the /etc/network/interfaces file:

Code:

The Time Capsule log contains the following error message--

Code:

So perhaps the password is somehow getting lost in translation from Ubuntu to the Time Capsule?

View 9 Replies View Related

Fedora Networking :: Network Manager Setting Invalid Error

Jun 23, 2010

I am using fedora 13. when i restart network service then following error.

View 3 Replies View Related

Ubuntu :: 10.10 - Apache ETC And Network Bridging

Feb 24, 2011

I'm a web developer etc. Came from using Windows - Love Ubuntu, alot. I installed Apache, PHP5, MySQL etc. Where can I access the htdocs? I've searched everywhere for the index file, but I cannot seem to find it. Now, my second question is. How can I bridge my connection from my wireless to my xbox 360? It was relatively easy on Windows 7 (however it is my native OS, had it since I was a kid). But since I'm new (today) to Ubuntu, I have no Clue What to do.

Also, the dns servers are like, 10.x.x.x.x - However on my router it's 192.168.2.1, for both 1 and 2. On my xbox, when I had it bridged from my laptop to my xbox (on 7), it worked fine while manually setting ip and DNS servers to that of my laptop, however if I use the same settings for my xbox with Ubuntu, it will say can't connect using a static IP, then when I auto define the settings, the IP works etc, but the DNS servers cannot communicate with xbox.com. (Even if I leave them as 192.168.2.1).

View 2 Replies View Related

CentOS 5 Networking :: When Type Command To Edit My Network IP Address Get Error

Dec 9, 2009

I installed Centos server and when I type this command to edit my network IP address I get this error.

View 5 Replies View Related

CentOS 5 :: Getting Error In 500 Apache Error Log?

Jun 22, 2011

I am unable to run perl script.When i am trying to run it.It shows following error in Apache error log- [Wed Jun 22 14:05:11 2011] [error] [client 172.16.237.128] Premature end of script headers: webrebase101.cgi

Below is the script which i am trying to run:
#!/usr/bin/perl
use Restrictionmap;
use Rebase;
use SeqFileIO;

[Code]...

View 1 Replies View Related

OpenSUSE Network :: Cannot Run Apache On 11.4

Jun 15, 2011

I've a server with opensuse 11.4 (from a 11.3 upgrade), but I can't run Apache.. I've tried latest version (official repository and Apache repository), but it give me always same error:

[error] (38)Function not implemented: apr_socket_accept: (client socket)

I've have removed and reinstalled apr/apr-utils also, but nothing..

View 2 Replies View Related

Ubuntu :: Can't Access Apache Server On The Local Network

Oct 11, 2010

I'm trying to set up a small Intranet system to run OpenERP or similar using browser-based clients. I have an Ubuntu machine running 10.04 desktop edition to act as a temporary/testing server until we set up a proper, dedicated machine with 10.04 server edition. I have installed Apache2 from the repos and it is up and running fine - locally. That is the problem, I can't access the server from other machines on the LAN. Ping works, btw. So I've been reading tutorials and howtos for the past week, but for the life of me, I can't find what I'm doing wrong. The standard Apache setup seems to be made to "just work", so although I've looked at the various configuration files mentioned in the tutorials, I haven't actually changed anything.

View 9 Replies View Related

Ubuntu Installation :: Apache Read Error On 10.04

May 4, 2010

I've just install Ubuntu 10.04 on my machine and I have a problem with apache, when i try to browse localhost I get this error

Quote:

Forbidden

You don't have permission to access / on this server. Apache/2.2.14 (Ubuntu) Server at localhost Port 80

I now that is an old problem, but i didn't find a working solution on web.

View 2 Replies View Related

OpenSUSE Network :: Apache - How To Change To Worker

Mar 27, 2010

I have installed openSuse and set up a as web server have apache2 running but need to change the MPM to worker. How is this done, I am new to OpeneSuse and Unix/Linux I know where to change the worker settings I just need to enable it over the prefork default. I know how they work I just need how to change to worker.

View 3 Replies View Related

OpenSUSE Network :: Apache - MPM Worker Not Working

Mar 28, 2010

I desperately need to get my apache server on OPenSuse to use the worker MPM I have tried simply placing worker in the quotes of the apache file /etc/sysconfig/apache2 but when I stop and start apache in the task monitor it is still showing the httpd2 processes to be prefork. Also there seems to be a problem on restart saying it cant find MPM.

View 9 Replies View Related

OpenSUSE Network :: Apache Alternative To Sites-available?

Jul 11, 2010

I was trying to set up a virtual host, but I could not find a sites-available to it. What is its alternative

View 3 Replies View Related

OpenSUSE Network :: Throttling Bandwidth On Apache ?

Nov 25, 2010

There seems to be many different ways of controlling bandwidth usage of downloads of content from Apache2. Does anyone know which is the standard module deployed/deployable in OpenSuse?

View 2 Replies View Related

OpenSUSE Network :: Apache Not Starting On Runlevel?

Jan 5, 2011

Apache is set to start on runlevel 2, 3 and 5, just like MySQL. For some obscure reason this always fails. I tried resetting the runlevels, but this did not help and I always have to start apache manually after reboot.

How can I analyze this problem? In the Apache logs I don't find the cause. Is there an other log I can check?

View 9 Replies View Related

OpenSUSE Network :: Configure A Webserver In Apache 11.3?

Mar 5, 2011

I am running 11.3 64bit. I need to set up a simple web server, and I was trying to follow this tutorial to do it HowTo: Configure a Linux Apache Web Server on Suse/openSUSE for SSI, Includes, CGI, Common Gateway Interface, AddHandler, ExecCGI, AllowOverride, htaccess, DocumentRoot The web server is running but this part could not be applied and I need to change the ownership. it seems the command lampserver does not exist.

[Code]...

View 8 Replies View Related

OpenSUSE Network :: Where Apache Benchmark Program 'ab' Is For

Jun 17, 2011

Does anybody know where the Apache benchmark program 'ab' is for opensuse? I don't find it installed or in the standard repositories.

View 3 Replies View Related

Server :: Apache 1.3.33 Deny Outside World - Allow Network Only?

Mar 11, 2010

I can't seem to set this older server right to deny outside access while I build a website on it. What I am trying to accomplish is deny anyone outside of my network access to the website, but replace the 403 error with a temp page letting them know it is coming soon. I have googled for hours and everything I have tried just denies me as well. Seems to be all or nothing.

My last attempt was:
Code:
<VirtualHost *:80>
ServerName www.mydomain.com
ServerAlias mydomain.com
ServerAdmin me@mydomain.com
DocumentRoot /home/me/www/site
ErrorDocument 403 /temp.htm

<Directory />
Options FollowSymLinks -Indexes Multiviews
AllowOverride None
Order Deny,Allow
Allow from 192.168.0.*
Deny from all
</Directory>
</VirtualHost>

View 11 Replies View Related







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