apache problem


 
Thread Tools Search this Thread
Operating Systems Linux Debian apache problem
# 8  
Old 10-28-2008
thx for everyone trying to help. okay, this is what i tried out. Instead of working on my linux box (192.xxx.1.5), gateway is 192.xxx.1.1, I tried to host my page with the my laptop(windows xp) 192.xxx.1.10 with wampserver setup. everything worked out. (of course I had to forward port http port 80 with my router for 192.xxx.1.10)

well, if I can host with my xp box with port 80 forwarded, that i should be able to host with my linux box (192.xxx.1.5)with the same port (http)forwarded right? that means 80 is actually not blocked by my ISP right?
# 9  
Old 10-28-2008
another concern, i have been using secure shell to login to my server to do everything i have done. it shouldn't be a problem right? I don't have to configure my httpd and things with my actualy server box right? i ask this is because when i do "lynx 127.0.0.1" it says it cannot connect to the remote host. i mean if i "lynx 127.0.0.1" ,, should it connect the local host instead???"
# 10  
Old 10-29-2008
I am beginning to think this is less of an apache problem, but a sysadmin problem.

You still have not shown us output from your error log for apache after I told you to fix your ServerName directive, nor output from netstat showing that apache is in fact running.

You should also know, regardless of OS but from a networking standpoint, that localhost and 127.0.0.1 are 90% of the time the same thing.
# 11  
Old 11-05-2008
okay, now i think my apache is actually running. but it come to an permission problem. when i tried to access the page on the browser, i get:

Forbidden

You don't have permission to access / on this server.
Apache/2.2.9 (Fedora) Server at xsoldier2006.dnsdojo.org Port 80

any suggestion to help me make through it? thanks
# 12  
Old 11-05-2008
opps, never mine. I got it! thanks everyone tried to help.

solution: chmod 755 /var // if anyone is curious
# 13  
Old 11-05-2008
Code:
<html>
<head>
<title>hi</title>
</head>
<body>
<p>this is my first page in Linux</p>
</body>
</html>

Seems to work from my end.
*Note: I intentionally included the source from the page -- I didn't screw up the formatting.
# 14  
Old 11-05-2008
Quote:
Originally Posted by k2k
opps, never mine. I got it! thanks everyone tried to help.

solution: chmod 755 /var // if anyone is curious
You should only `chmod' the directory Apache is using. Depending on your distribution, it could be '/var/www' or the like. (I assume you're using some Debian variant.)

You also shouldn't need to `chmod' /var/www anyway... It should 'just work' as is. I assume you changed permissions to not need to edit as root.

Last edited by glen.barber; 11-05-2008 at 06:22 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Problem Installing Apache from rpm

I am attempting to install an rpm of Apache from perzl.org on an AIX 6100-07-03-1207 server and it is failing. I think I have all of the dependencies installed. Can anyone help? Any help would be appreciated. It fails with the following error: # rpm -Uvh httpd-2.4.2-2.aix5.1.ppc.rpm ... (3 Replies)
Discussion started by: lbholde
3 Replies

2. IP Networking

dns problem in apache

Hi, I am running scientific linux (which is clone of red hat linux) on virtual machine that is virtual box. I tried to start the apache but I got the following message. starting httpd: httpd: arp_sockaddr_info_get() failed for scientific-linux httpd: could not reliably determine the... (2 Replies)
Discussion started by: programAngel
2 Replies

3. UNIX for Dummies Questions & Answers

Problem with Restricting Directory in Apache

Hello, I want to restrict access to our Subversion repositories to only our internal network. I have a virtual host directive setup in Apache for the IP and port 443. When I put the following: <Directory "/var/www/svn/"> Order allow,deny AllowOverride None Allow from 10.5.10.0/24 Allow... (1 Reply)
Discussion started by: mojoman
1 Replies

4. Solaris

problem compiling apache on solaris

Hi I'm trying to install apache 2.2.14 on Solaris with Openssl. I'm using following configure options: ./configure --prefix=/usr/local/apache2 --enable-ssl --enable-module=so --enable-proxy=shared --enable-proxy-http=shared --enable-proxy-ajp=shared --with-ssl=/usr/local/openssl ... (3 Replies)
Discussion started by: Aelfric
3 Replies

5. Web Development

Problem setting up apache

Hello there, I installed Ajaxterm on my Ubuntu 9.04 machine, and it's running ok if I use : http://localhost:8022/ in my browser. The problem is that I wanted to be able to acces it from somewere else through the internet. I read some instruction and help sites related to this problem, like :... (2 Replies)
Discussion started by: spiriad
2 Replies

6. UNIX and Linux Applications

Apache problem: mod_deflate with mod_proxy

I am using Apache 2.2.3 on RHEL5 and having problems to get mod_deflate work with mod_proxy. mod_deflate will compress files by mime-type just fine as long as those files are served statically from the local server. However, files served via dynamic php application (ie, MediaWiki) or via... (2 Replies)
Discussion started by: otheus
2 Replies

7. Red Hat

Problem in apache

Can anyone guide, what should be the entry in httpd.conf file to host a site in Redhat Ent Linux 5 without using nameserver? Or process to set apache server in same dist of Linux. Any link to understand apache well will be much appreciable. (3 Replies)
Discussion started by: naw_deepak
3 Replies

8. UNIX for Dummies Questions & Answers

Apache 2.2 problem

Hi all, I'm a user of Debian 4.0. I installed apache 2.2 and add the functionality to support ~/public_html for each user. This is the permission of my public_html: drwxr-xr-x 4 mj test 4096 2007-12-20 20:17 public_html When I wanted to go through it and list the directory via my browser,... (6 Replies)
Discussion started by: mjdousti
6 Replies

9. Solaris

Apache start problem

Hi, I have installed apache webserver on my solaris 10(x86). When I tried to start the server it gives following error, ld.so.1: /usr/local/apache2/bin/httpd: fatal: libssl.so.0.9.8: open failed: No such file or directory Killedld.so.1:: Too many arguments Can somebody please guide me how... (1 Reply)
Discussion started by: maheshsri
1 Replies

10. Solaris

Apache with SSL problem

Hi All, I'm attempting to build Apache 1.3.27 on a new Solaris 9 system. I am using following "Option 2" in the INSTALL of the mod_ssl-2.8.12-1.3.27, and I'm stumped. After I configure and make all the required components the make of the Apache server itself stops at: flex... (2 Replies)
Discussion started by: b_manu78
2 Replies
Login or Register to Ask a Question