Networking :: Apache Server Setup Working Locally But Not From Outside Connections?

Feb 20, 2009

'm running on Ubuntu and I've succesfully setup apache alongside with a working php & mysql configuration - other computers connected to the LAN can access it by typing in my ip: 192.168.0.9however I would like my webserver to be accessible by all internet users...I've got my ports.conf file in the apache setup to listen on ports 80 and 8080 this is my ports.conf:PHP Code:

Listen 80
Listen 8080
Listen 2000

[code].....

View 5 Replies


ADVERTISEMENT

Server :: Ssh - Compose The Line Locally And Then Submit The Command (for Slow Connections)?

Dec 29, 2010

The problem with ssh is that it's a live connection; rubbish over a slow or packet loss full connection like satelite. Surely there's got to be something out there that allows you to compose the command you want and then submit it in one go with the return key?

View 3 Replies View Related

Ubuntu Servers :: Setup Access Properly From A Public Address To A Monitoring Server That Works Fine Locally?

Apr 19, 2011

I've spent days trying to setup access properly from a public address to a monitoring server that works fine locally. Everything works from public access until I try to link to a CVS repository. The rancid CVS repository is set up as a separate server (virtualhost). It appears the referring link causes a DNS error (105: Server Not Found) when the CVS repository server is accessed from the public address. Things work fine when accessing via localhost.

Localhost link:

[URL]

Public link: (this results in 105 error caused by redirection (bold portion of link))

[URL]

Code:

Virtualhost config:
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log

[code]....

View 2 Replies View Related

Server :: Block Connections To Apache If Client Doesn't Have Valid Request Headers?

Feb 8, 2011

My server gets ddos attacks. I dig into access logs and I saw that attacker ips doesn't have valid requests headers, like their browser application info or requested url info.I want to close those connections immediately, and if it's possible block those ips for a time period.Can I do that with Apache and iptables?I searched on the internet but couldn't find useful results. Probably couldn't search for the right words.

View 2 Replies View Related

Ubuntu :: XDMCP Server Setup On 10.10 To Allow Remote Connections

Nov 30, 2010

I need to setup a xdmcp server on ubuntu 10.10 to allow for remote connections. Obviously this cant be done from the login window as with previous versions of Ubuntu.

View 3 Replies View Related

Networking :: Can't Connect To Server Locally

Jun 6, 2010

I have a home server that I was able to up and till recently able to connect to externally and internally but something has changed. I can't connect through vnc, putty or ftp. if I ping the local address it can't be found. If I try to get to it using its external IP address I can get to the server and put in my user name but it wont accept my password.If I go to the server and use the password it works fine.

View 13 Replies View Related

Software :: Vsftpd And Certificates / Setup FTP Server To Accept Connections From A Remote Host?

Jan 5, 2010

I've recently been asked to setup our FTP server to accept connections from a remote host. They sent me a file "id_dsa.pub" with instructions to add this key to the xfer user.

Unfortunately I've no idea how to do this!

I'm running vsftpd 2.0.5 on Centos 5.3

View 4 Replies View Related

General :: Apache Works Locally But Not Globally?

May 20, 2010

I set up apache (apache2) to create a moodle server, but I can't get it to work globally. Here is the rub: http://192.168.0.150 works beautifully, showing me the index page at /var/www [URL] (my dyndns) or http://96.49.75.14 (my current IP address) doesn't work.ssh works well globally, i.e. ssh -l myname [URL] works. pinging [URL] works without a problem. Ports 22, 80 and 443 are open on my router (checked my router's settings).I use ubuntu 10.4. Is it an iptables problem, as in http://www.linuxquestions.org/questi...achine-750157/ ? But I couldn't figure out the iptables manpage.

View 14 Replies View Related

Ubuntu Networking :: Setup A Share Drive On New Server With Samba (v 3.4) - Shares Are Not Working?

Mar 15, 2010

I have the follow environment

PDC SAMBA + OPEN LDAP (ubuntu 9.04)
Linux (File Servers) + Windows machines all working well

I'm trying to set up a share drive on my new server using ubuntu 9.10 with samba (v 3.4) and ldapclient and the shares are not working when I defined Valid Users for share folders, that keep me ask me about my user and password, on the logs I have:

[2010/03/15 10:24:10, 1] smbd/service.c:676(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED

This is my smb.conf

[global]
workgroup = FLOWCONNECT
server string = OSLO SAMBA FILE SERVER [code].....

I have the same set up on my File Server (Ubuntu 9.04) which use samba 3.3 is working fine.Someone know if has some different setting between samba 3.3 (ubuntu 9.04) and samba 3.4 (ubuntu 9.10) that could cause this problem ?

View 1 Replies View Related

Networking :: How To Redirect Locally-generated Packets To Remote Server?

Mar 22, 2010

I'm trying to workaround a limitation in a server application. The limitation is that I can only connect to a LOCAL mysql database. I am trying to fool the server in to using a remote mysql database. I was hoping to do this by simply forwarding 3306 to another server on the same subnet.To that end I've set up iptables rules to forward all connections to port 3306 to a non-standard mysql port on a remote server. This works, except that I need to deal with the loopback interface in a special way and I'm stuck.

View 14 Replies View Related

Server :: Apache Virtual Host To Limit The Concurrent Connections Of Virtual Hosts?

Jul 3, 2009

apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.

View 1 Replies View Related

Server :: Apache Virtual Host Setup

Oct 29, 2009

I have 4 domains registered through godaddy. I have a dell poweredge box with one static IP hosted somewhere. I want the 4 domain to resolve to four different sites. I have already created 4 different sites in apache with four different aliases and has enabled it.

eg
alias /a /var/www/a
alias /b /var/www/b
alias /c /var/www/c

I want to acomplish.

www.a.com ==> xx.xx.xx.xx/a
www.b.com ==> xx.xx.xx.xx/b
www.c.com ==> xx.xx.xx.xx/c

I tried with godaddys forward with masking option. It works but I can't hide xx.xx.xx.xx/a in the links. Whats the best approach? One limitation is I cannot use the webhosts name servers. How do I set this up with name based virtual hosting? Do I setup a DNS server in the box?

I do have a dns host name for my box which is publicy accessible. Some my.ca.examplehost.net

View 3 Replies View Related

Server :: Setup A Apache Htaccess Redirect?

Jul 7, 2010

Stay I have a url to view files, e.g.

[URL]

How do I setup a apache htaccess redirect so I can use a static url like:

[URL]

View 3 Replies View Related

Server :: How To Finalize Apache Tomcat Setup

Nov 16, 2010

I have FC13 with apache up and running. I need to run tomcat to do some dynamic web with eclipse, I checked my setup and noticed that I already have tomcat5 in add/remove software as installed bu can not find any etc/tomcat and not able to find how to test. I went through the FC13 documentaion, nothing is mentioned abou apache tomcat setup finalizing and testing that ships with FC13 it works. I googled and found some docs around setup tomcat6 or tomcat 5 but not how finalize the one shipped with FC13.

View 2 Replies View Related

Server :: Setup Permissions For SSH Access To Apache?

Feb 23, 2010

I am looking for the best way to set up permissions in the following situation. I have a web server set up on debian. I have different web sites in /var/www. Each web has a group of developers who each have system users and ssh access to the server. For example i have a web site in /var/www/example.com and a group of developers in group exampledev. I need all the users in exampledev plus the apache user (www-data) to have read write and execute permissions on all the content of the web site. I can give the group exampledev these permissions without a problem. The problem is that when they modify or create new files (they either connect via ssh o sftp which is the same right?) they are created with their user and group rather than exampledev. Am i going down the wrong path? This must be a common situation but i haven't found the solution.

View 5 Replies View Related

General :: LAMP Server Setup - MySQL - PHP - Apache - FTP

Mar 16, 2010

Good tutorial, using images for a lamp server that has, MySQL,PHP, Apache, FTP with all the fruit for running a server that will host a Gallery, forum and main site

I know there's heaps around for Ubuntu 9.10, but its not quiet what I'm looking for as in Gd, ImageMagick and some extras for Apache mods

View 1 Replies View Related

Server :: Ubuntu 9.10 Setup - Open AVI Links In Apache

Mar 12, 2010

I have my Ubuntu 9.10 server setup with apache2 and it will load web pages. The cgi-bin perl programs do run in the web server. What I would like to know is how to have it access video files and download then from a link. The video files are at /media/usb-drive/Movies/movies

I think my Alias is setup.
ScriptAlias /movies/ /media/usb-drive/movies/
<Directory "/media/usb-drive/movies/">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

When I make a web page with a link to a file
<a href="/media/usb-drive/movies/Movies/test.avi">Video</a>
I get the error
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
Apache/2.2.12 (Ubuntu) Server at usha.homelinux.com Port 80

If I make a link to a file I do not have it get this error
<a href="/media/usb-drive/movies/Movies/nofil.avi">Video</a>
Not Found
The requested URL /movies/Movies/W1.avi was not found on this server. I do not know what the misconfiguration is.

View 3 Replies View Related

Ubuntu Networking :: Internet Connections Is Not Working

Apr 7, 2010

I have the latest Ubuntu (9.10) desktop. My 2 cards are:

WiFi: Intel(R) Wireless WiFi Link 5100
Ethernet: Marvell Yukon 88E8072 PCI-E Gigabit Ethernet Controller

Is there any way to get drivers working? My hardware switch is on and i have Ubuntu 9.10 running persistently on my usb so i can download the drivers etc. and install them.

View 7 Replies View Related

Ubuntu Security :: Ways To Secure Server Setup With Apache?

Jun 19, 2010

I've set up a server for the first time today and I'm reading up on how to secure it. But I was wondering if anyone here would give me some tips from personal experience on what to do before going online with my website for the whole world to see. I'm running Ubuntu Server edition and Apache. Am I good to go with default settings or is there anything recommended that I should first do?

View 9 Replies View Related

Server :: Apache 2.0 - Setup SSL Client Authentication On Only One Virtual Host

Aug 18, 2010

I was trying to setup SSL Client authentication on only one virtual host. Here is a brief excerpt sample of my conf file for the virtual host:

<VirtualHost xx.xx.xx.xx:443>
SSLRequire %{SSL_CLIENT_S_DN_O} eq "something"
SSLVerifyClient require
SSLVerifyDepth 2
</VirtualHost>

But when I try to check for syntax errors tells me SSLRequire not allowed here I do not want to add SSLRequire on the main httpd.conf because I only want it for one virtual host. The rest of the virtual hosts do not need it.

View 2 Replies View Related

Ubuntu Servers :: Setup Postfix To Relay Email It Cannot Deliver Locally?

Jul 17, 2011

I'm trying to setup postfix (or exim, I don't mind which), so I can move away my last remaining PC from Windows.I've tinkered with Postfix for good part of a month and I can get it to accept emails using SMTP and post them to a virtual mailbox based on MySQL tables. And it rejects mail addressed to local email addresses that it can't find in the table.

First question (or problem.) I've set up Postfix to relay email it cannot deliver locally such as is the case when you send out an email. My remote host requires authentication. How can I set this up?

Second question: I want to force my clients to use either AUTH, TLS or SSL, and not allow anonymous connections (to prevent an open relay server.) How do I set that up without interfering with the smarthost setting? The smarthost login is not one of my clients, it's a pre-determined login and password that is solely used for the email relaying aspect.

View 5 Replies View Related

Fedora Networking :: DNS Not Working With Multiple Network Connections

Mar 5, 2010

I have a machine that I'm trying to setup as a reverse web proxy. It will have two NICs, eth0 will face the public network, and eth1 will face the "internal" network (connects to a switch that goes out to the other web servers that are statically assigned a private IP address).

When both interfaces are started, I can ping hosts on the 1.2.3.0 network and the 192.168.10.0 network without problem when doing so by IP, but if I try to run a ping or nslookup command with a DNS name, it does not work. I've tried commenting out my entries in /etc/resolv.conf and adding the DNS entries in the /etc/sysconfig/network-scripts/ifcfg-ethX files directly (DNS1=x.x.x.x and DNS2=x.x.x.x), but the results are the same.

View 2 Replies View Related

General :: Setup A Development Test Zone On A Live Apache Server?

Mar 12, 2010

I have dedicated LAMP server running and I was wondering if I am able to run a dev/testing zone on it so to speak?...That way, I can have my come back soon, site is being constructed page live, and develop elsewhere on the server. I was trying a virtualhost, but since that is name based, the web browsers don't know what to do with it. I know the safest way is to develop on this machine then move to web server but I'm just seeing if what I was trying to do is possible.

View 4 Replies View Related

Networking :: Outbound Connections Not Working When Firewall Enabled - Opensuse

Jan 17, 2011

I have problem on VPS running opensuse. When I enable firewall outbound connections stop working. I have tried everything I know (not much when it comes to firewall (iptables)) but could not solve this.

Here is my ifconfig:

Code:

I used xxx.xxx.xxx.xxx to hide real address.

View 2 Replies View Related

Server :: Setup LAMP With MySQL Master/slave Replication And Apache Rsync?

Aug 12, 2010

I started over combining the first parts of this guide: [URL]..ubuntu8.04 (Only the first few parts in terms of configuration and naming). Then I used this guide: [URL]..Surprisingly enough all steps worked.

1. Now I need to set up LAMP servers with MySQL master/slave replication and Apache rsync.

2. Next i need to add BIND to both my Load Balancers with master/slave backup and replication...

Are there any guides to look at to follow on these? Can tou point me to the right direction for BIND with replication.

View 1 Replies View Related

OpenSUSE Network :: Setup An Apache Server On Computer Which Will Allow Browsing Of Files In A Specific Directory And Subdirectories?

Jun 13, 2011

I'm trying to setup an Apache server on my computer which will allow browsing of files in a specific directory and subdirectories, without needing any sort of authentication.

I've got the Apache2 server up and running through yast, and everything works fine as long as I try to point it to the /www/htdocs folder. However, I want to point it at another folder, which is on another partition. This partition is formatted as NTFS, if that matters at all (here's some background on some permissions issues I had with the NTFS partitions recently).

When I change the "Directory" setting in the Yast http server configuration utility to the directory on the NTFS partition I wish to use, attempting to access the server results in the following error:

Code: Access Forbidden: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster.

Error 403
192.168.1.100
Mon Jun 13 23:43:29 2011
Apache/2.2.17 (Linux/SUSE)

View 4 Replies View Related

Server :: SSL Not Working With Apache

May 6, 2009

I've been trying to enable SSL in a Apache+Debian server. I already enable the ssl module, I added the 443 port in the ports.conf and I added a virtual host for the 443 port, as follows.

NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName www2.domain.com
DocumentRoot /var/www/

ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
</VirtualHost>

The certificate is installed also. After I restart Apache, the error log don't show anything unusual. The only showed is this: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations. Still, I can't open any pages with https protocol, only with http.

View 14 Replies View Related

Server :: How To Get PHP5 Working On Apache 2.2.13

Jan 1, 2010

I am trying to get PHP5 working on Apache 2.2.13. When loading the PHP file in the web browser, the server does not appear to be passing the php off to the interpreter.Instead, the browser just treats the first command as an HTML comment and displays the rest to the user.

Relevant lines from httpd.conf:
LoadModule php5_module lib64/httpd/modules/libphp5.so
AddType text/html .php
#AddType application/x-httpd-php .php
AddHandler php-script .php

The second AddType is commented out because it causes Firefox to try to download the php instead of displaying it.

Output from httpd -M:
Loaded Modules:
core_module (static)

[code]....

Does it sound correct to think that there is some type of disconnect between Apache and the PHP interpreter?

View 1 Replies View Related

General :: Can Apache Log Simultaneous Connections?

Jan 10, 2011

We just setup a Moodle server in Apache. We would like to track how close (if at all) we are getting to our MaxClients limit. Is there a log that will show simultaneous connections?If there is, can it be set to only log when specific numbers are hit?

View 4 Replies View Related

Fedora Networking :: Two Internet Connections On F10 Server?

Feb 25, 2009

I have a question, regarding the use of two internet connection on the same server. So, the thing is like this: The server will have 3 network adapters: connected to a DSL modem (on this adapter I have one of the internet connections, a PPPoE connection. It's only purpose is to share the internet connection to all LAN users using SNAT.

eth1 ----> the other internet connection, a much more expensive one actually, used for hosting a website, a domain name server, and a qmail server. eth2 ----> LAN connection So what I want is to make eth1 the "default gateway" (for outgoing mail, DNS requests, etc) and, as I said, use the ppp0 connection on eth0 only for internet sharing in LAN.

My question is (since I'l configure this server in about one week), does anybody have any suggestions regarding how could I accomplish this? I mean, I'm affraid that ppp0 will also try to use the default gateway from the other internet connection and vice-versa. Now, I know I can use the ip route/ip rule commands, but for many reasons I'd like to keep it simple and not use them.

View 4 Replies View Related







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