Sponsored Content
Operating Systems Linux Ubuntu Apache Server troubleshooting Post 302521596 by lorewap3 on Wednesday 11th of May 2011 07:18:10 PM
Old 05-11-2011
Question Apache Server troubleshooting

I'm having issues getting apache to respond to requests outside of my local LAN. If I goto my server URL (www .poillion. com) it says connecting... but never finishes and returns anything.

I'm using Ubuntu Server 10.10.

a) The DNS is working fine. It's pointed to my cable modem's IP and ping responds fine.
b) The apache server is setup and is working locally. In fact, if I use w3m and goto www .poillion. com I reach the test page perfectly.

I can't figure out where the missing piece is to close this gap. Here are some config files to illustrate my setup:

hostname
Quote:
poillion
/etc/apache2/httpd.conf
Quote:
ServerName poillion
/etc/hosts
Quote:
127.0.0.1 localhost
127.0.1.1 poillion
(along with ipv6 ones)

Note: I had my LAN IP and cable modem IP both setup in here as www .poillion.com and that didn't work.

/etc/apache2/sites-available/poillion
Quote:
<VirtualHost *:80>
ServerName www. poillion. com

ServerAlias *.poillion.com
ServerAlias *.willpoillion.com

ServerAdmin will@poillion. com

DocumentRoot /home/www
<Directory />
Options -FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/www/>
Options +Indexes +SymLinksIfOwnerMatch +MultiViews +ExecCGI
AllowOverride None
Order allow,deny
allow from all
</Directory>


ErrorLog ${APACHE_LOG_DIR}/poillion_error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug

CustomLog ${APACHE_LOG_DIR}/poillion_access.log combined

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>
Any help diagnosing would be greatly appreciated! Thanks!

Will
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache Server

I Don't speak english very good... i'm new to unix. I have Win98SE and Apache for win32 Pentium MMX-166MHz 200MB Free Apache/1.3.20 (Win32) PHP/4.0.6 My url is my ip and i want to get domain exsample "www.cfir.co.il" so i want to get UNIX. i want to get standard UNIX server not... (4 Replies)
Discussion started by: cfir
4 Replies

2. UNIX for Dummies Questions & Answers

Server shutdown Troubleshooting

SCO Unixware 7.1.1 Hi friends, At 11:30pm last night mymain Unix Server hung or rebooted (Unaware which one), and was bot available for 10 minutes. Is there a log file somewhere which will tell me what happened ? I have looked ad /var/adm/syslog, but cannot make head nor tail of it. ... (1 Reply)
Discussion started by: sureshy
1 Replies

3. UNIX for Dummies Questions & Answers

Apache Server

I have a question concerning the log file from an apache web server. How can I : a) roughly estimate the number of requests processed per second by the web server. b) tally the top ten hosts who send most of the requests to the web server for the last 30 minutes. Could any... (1 Reply)
Discussion started by: ppychu
1 Replies

4. AIX

Troubleshooting NIM Server

hello folks, Can someone help me troubleshoot the NIM Server NIM MASTER: >> # hostname oldbcoedv # cat /etc/hostname 192.52.100.29 bcoeqa bcoeqa.bin.com.sa 192.52.100.66 oldbcoedv # cat /etc/bootptab ..... # T180 -- (xstation only) -- enable virtual screen #NO CLIENTS... (6 Replies)
Discussion started by: filosophizer
6 Replies

5. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

6. Red Hat

CPU high - apache real server OK, virtual server not

Got two RHEL servers - one real and one virtual/cloud. Both run apache web server. When traffic is applied, CPU seems to go quite high on virtual one (20%) but real is not really affected. Worry is that a further increase in traffic will see a problem. Experience of RHEL is limited. Whats... (2 Replies)
Discussion started by: psychocandy
2 Replies

7. Shell Programming and Scripting

Apache webserver troubleshooting

Need assistance in getting apache installation troubleshooting.. - Compiled source code of apache webserver , Installed and configured apache, - started apache web server with no errors. - web browser doesnt open any pages . say "Page cannot be displayed". Need troubleshooting . - When i... (12 Replies)
Discussion started by: ajayram_arya
12 Replies

8. HP-UX

Help troubleshooting new Apache installation on HPUX 11.31

Hi Guys! I have a very odd problem while installing Apache in an HPUX 11.31, What I did was downloaded the latest webserver suite from hp software, installed using swinstall, everything was extracted properly. The apache version was 2.2.15 Now the issue comes when I run it, it starts... (3 Replies)
Discussion started by: feliper
3 Replies
GSEXEC(8)							  GridSite Manual							 GSEXEC(8)

NAME
gsexec - Switch user before executing external programs SYNOPSIS
gsexec [-V] SUMMARY
gsexec is used by the Apache HTTP Server to switch to another user before executing CGI programs. In order to achieve this, it must run as root. Since the HTTP daemon normally doesn't run as root, the gsexec executable needs the setuid bit set and must be owned by root. It should never be writable for any other person than root. gsexec is based on Apache's suexec, and its behaviour is controlled with the Apache configuration file directives GridSiteExecMethod and GridSiteUserGroup added to Apache by mod_gridsite(8) Four execution methods are supported: nosetuid, suexec, X509DN and directory, and these may be set on a per-directory basis within the Apache configuration file. NOSETUID METHOD
This is the default behaviour, but can also be produced by giving GridSiteExecMethod nosetuid CGI programs will then be executed without using gsexec, and will run as the Unix user given by the User and Group Apache directives (nor- mally apache.apache on Red Hat derived systems.) SUEXEC METHOD
If GridSiteExecMethod suexec is given for this virtual host or directory, then CGI programs will be executed using the user and group given by the GridSiteUserGroup user group directive, which may also be set on a per-directory basis (unlike suexec's SuexecUserGroup which is per-server only.) The CGI program must either be owned by root, the Apache user and group specified at gsexec build-time (normally apache.apache) or by the user and group given with the GridSiteUserGroup directive. X509DN METHOD If GridSiteExecMethod X509DN is given, then the CGI program runs as a pool user, detemined using lock files in the exec mapping directory chosen as build time of gsexec. The pool user is chosen according to the client's full certificate X.509 DN (ie with any trailing GSI proxy name components stripped off.) Subsequent requests by the same X.509 identity will be mapped to the same pool user. The CGI program must either be owned by root, the Apache user and group specified at gsexec build-time (normally apache.apache) or by the pool user selected. DIRECTORY METHOD
If GridSiteExecMethod directory is given, then the CGI program runs as a pool user chosen according to the directory in which the CGI is located: all CGIs in that directory run as the same pool user. The CGI program must either be owned by root, the Apache user and group specified at gsexec build-time (normally apache.apache) or by the pool user selected. EXECMAPDIR
The default exec mapping directory is /var/www/execmapdir and this is fixed when the gsexec executable is built. The exec mapping directory and all of its lock files must be owned and only writable by root. To initialise the lock files, create an empty lock file for each pool user, with the pool username as the filename (eg user0001, user0002, ...) As the pool users are leased to X.509 identities or directories, they will become hard linked to lock files with the URL-encoded X.509 DN or full directory path. You can recycle pool users by removing the corresponding URL-encoded hard link. stat(1) and ls(1) with option -i can be used to print the inodes of lock files to match up the hard links. However, you must ensure that all files and processes owned by the pool user are deleted before recycling! OPTIONS
-V If you are root, this option displays the compile options of gsexec. For security reasons all configuration options are changeable only at compile time. MORE INFORMATION
For further information about the concepts and the security model of the original Apache suexec please refer to the suexec documentation: http://httpd.apache.org/docs-2.0/suexec.html For examples using the gsexec extensions, please see the GridSite gsexec page: http://www.gridsite.org/wiki/Gsexec AUTHORS
Apache project, for original suexec Andrew McNab <Andrew.McNab@manchester.ac.uk> for gsexec modifications. gsexec is part of GridSite: http://www.gridsite.org/ SEE ALSO
httpd(8), suexec(8), mod_gridsite(8) gsexec October 2005 GSEXEC(8)
All times are GMT -4. The time now is 08:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy