Fedora :: Httpd Uses Random Port?

Apr 11, 2010

I've installed Eclipse PDT with yum and httpd got installed as well. The problem is everytime httpd starts it chooses different (random) port and refuses connections to other ports like 80 (displays 403 forbidden error). That's really annoyng because I have to launch eclipse and open file in "PHP Browser" to get the right port. It also makes me unable to setup vhosts properly (i think). How to force apache to stick to the 80 port? Heres my httpd.conf: [URL] The only things I've changed there is added vhost

View 7 Replies


ADVERTISEMENT

Fedora Security :: Why Is Httpd Allowed To Start Binded To Port That's Not Explicitly Allowed?

May 28, 2010

While reading some papers on securing apache with selinux, I have tried to bind httpd to port 3000 expecting to be blocked by the selinux, since port tcp 3000 isn't on the http_port_t list. However I was able to start the service...

I'm preety sure selinux is enforcing. Also, if I bind httpd to tcp 81 selinux denies the start of the service, as expected!Did I miss something? Why is httpd allowed to start binded to a port that's not explicitly allowed?

View 12 Replies View Related

Fedora Installation :: Start The Service Of Httpd Error Message Displayed: Starting Httpd: (98)Address Already In Use ?

Sep 19, 2010

I have installed fedora 13 in my system. httpd server is also installed. when I tried to start the service of httpd, following error message displayed: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80

View 1 Replies View Related

Server :: Cannot Restart Httpd Service Port 80 Already In Use?

Jan 16, 2010

I neded to make some changes to the httpd.conf file. Afterwards I tried restarting,but it won't restart.It's saying port 80 is already in use. after checking via lsof -i :80 I get this result:

[Code]...

View 1 Replies View Related

Server :: Forwarding An Application Having Port Id 8080 To 80 Using Httpd.conf?

Nov 26, 2010

I am a network/system Administrator in an avg. based company, we are using Cent Os as servers. We are developing applications in both php & java, for java we are using apache tomcat as server (port number 8080) & for php we are using apache as server (port 80). Php applications are uploaded in the server and giving the link to our clients like localhost.com/chrome. Now we are planning to give the java based application for testing purpose to clients & can give the application link to client as localhost.com:8080/mozilla. Is it is possible to change the link localhost.com:8080/mozilla to localhost.com/mozilla with out changing the portnumber of apache tomcat server & without interrupting the php applications, that means our clients can access php application as localhost.com/chrome & java application as localhost.com/mozilla in the same server at the same time.

View 9 Replies View Related

Fedora Networking :: Port Redirect, I.e. Whatever Comes Through Whatever Interface On Port AAAA Will Get Redirected To Port BBBB?

Feb 18, 2010

I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBBI thought that iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBBhowever it doesn't work, e.g. nc -v -w2 -z localhost AAAA gives:

nc: connect to localhost port AAAA (tcp) failed: Connection refused
while
nc -v -w2 -z localhost BBBB

[code]....

View 10 Replies View Related

Slackware :: Typo In As-installed /etc/httpd/httpd.conf?

Dec 24, 2010

I'm new to Apache configuration so could be misunderstanding but shouldn't the characters highlighted in red below be removed?

Code:

View 9 Replies View Related

CentOS 5 :: Httpd: Could Not Open Configuration File /etc/httpd/conf/httpd.conf: No Such File

Nov 9, 2009

accidentally I do something wrong with my server and the httpd folder missing and I need it to setup my mail server and anyone can help me what can I do without reinstalling my Cent OS? Here is the error msg :

[root@mydomain etc]# service httpd stop
Stopping httpd: [FAILED]
[root@mydomain etc]# service httpd restart

[code]....

View 3 Replies View Related

Server :: Reverse Proxy - With HTTPD Httpd-2.2.3-29.el5

Jul 30, 2010

We are using this url on our testing box and this ip is reverse proxy IP ( 10.192.64.52)

Without reverse proxy:- URL is working fine.

http://10.192.16.77/akc-qa/arsys/ser...TS000000001430

But with reverse proxy its putting escape [%25] in between %3a

[url]

Is it possible to write a rewrite rule to bypass escape [NE] for this particular URL?

View 1 Replies View Related

CentOS 5 Server :: Httpd Running Very Slow "/var/lock/subsys/httpd': No Space Left On Device"?

Jun 10, 2011

Running CentOS 5 x64 And today my httpd is running very slow and I can't find a fix. Looked all over different forums

When starting httpd I get the message: /var/lock/subsys/httpd': No space left on device I checked that directory above and there is no file called httpd tried rebooting server

Can't do updates too:
[root@u15438957 ~]# yum update
Loaded plugins: fastestmirror, priorities
rpmdb: unable to join the environment

[Code]...

View 4 Replies View Related

Ubuntu Multimedia :: Copy Random Jpg From Random Folder

Jan 19, 2010

I'm looking for a script that copies a random .jpg from a random folder in my ~/Pictures folder to my ~/temp folder with a standard filename. This file will then be displayed in Conky. I can fix the last part, but I cannot find a way to do the first part.

View 3 Replies View Related

Red Hat / Fedora :: Netcat / Port Redirection - When A Connection Is Received On A Port Say 123?

Apr 6, 2010

i am running ncat (netcat's new version from nmap) on centos . I am listening on different ports. My question is , is it possible that when a connection is received on a port say 123, i redirect this connection to a different port and use the 123 port again for listening connections. ncat has an option -k which u can add with -l , it will force fully listen on the port. It can accept multiple connections on a single port but i want that once a client connects on to 123 port, he is forwarded to some other port and no longer on 123.

View 4 Replies View Related

Red Hat / Fedora :: Httpd Not Running On 15?

Jul 7, 2011

when i put in the command

sudo /etc/init.d/httpd
httpd.service - LSB: start and stop Apache HTTP Server
Loaded: loaded (/etc/rc.d/init.d/httpd)
Active: inactive (dead)

[Code]....

what should i do to get it up and running.?

View 2 Replies View Related

Fedora Servers :: Can't Get Httpd To Index

Feb 28, 2009

I am tyring to setup my webserver on Fedora 10 to do the following.

first, i want to require logins when people access my machine. This i have working through the .htaccess file.

Second, i want directories that do not have an index.html file to be auto indexed. This is where its not working for me. I get a 403.

the only change from the default setting in the httpd.conf file is AllowOverride AuthConfig

it would seem that the default settings for are

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny

[Code].....

IF i put an index.html file in sub/ i no longer get a 403, i just get that file.

View 6 Replies View Related

Fedora Servers :: HTTPD - How To Setup GUI

Apr 27, 2010

I have Fedora 12 x86_64 installed in my computer. I have also installed system-config-httpd, but when I go to System --> Administration --> Server Settings --> HTTP, nothing shows up.

View 4 Replies View Related

Fedora :: Unable To Load The Httpd

Jul 25, 2011

I get the following error, after installing and configuring httpd - it will not start any longer:

Code:

Starting httpd (via systemctl): Job failed. See system logs and 'systemctl status' for details.Where can I find the system log for this so I can post what is actually causing this?

View 10 Replies View Related

Red Hat / Fedora :: How To Let Apache Know Which Httpd.conf To Be Used

Jan 19, 2009

We have apache installed at a directory other than the default location. There are two httpd.conf files on the server, one at the apache installation directory, and the other one is the default one at /etc/httpd/conf. The apache ran very well with the customized httpd.conf before, but after I installed php 5, the server seems taking the default httpd.conf and doesn't display the html pages which are installed at our apache directory. How to let the server know not to use the default httpd.conf and use the customized one instead?

View 3 Replies View Related

Red Hat / Fedora :: Php Exec(); Can't Reload Httpd?

Apr 4, 2010

When I try to reload httpd service through commandline interface directly, it works. But when I tried to reload service of named and httpd using php exec(), it doesn't works.service named reloadservice httpd reloadThe service named is OK but httpd got problem.My OS is CentOS 5.4 .

My script:
echo exec("service named reload"); result is " Reloading named: [OK] "
but

[code]....

View 3 Replies View Related

Fedora Servers :: Httpd And Apache2 Conflict?

Jul 4, 2009

httpd have been install by default and I don't start it as services. I have install apache2 but don't want to start as service, I can't add it into the chkconfig. When I try to remove httpd, fedora also want to remove these software.

gnome-user-share i586 2.26.0-2.fc11 installed 809 k
httpd-manual i586 2.2.11-8 installed 3.5 M
mod_perl i586 2.0.4-8 installed 6.3 M

[code]....

php and webalizer I don't care as I want to install the new version, but is their any problem removing the other one? Also I want to pount the apache2 documentroot to var/www/httpd but when I do this and try to see the website I got a 403 error (not autorize)

View 1 Replies View Related

Fedora :: New/backup Copy Of Httpd.conf ?

Oct 20, 2009

I modified my httpd.conf file without making a backup. Apache runs fine but I am having a perplexing problem with drupal and want to try a vanilla httpd.conf file. Where can I get a 'virgin' configuration file for fedora 10?

View 1 Replies View Related

Fedora Servers :: Run Tomcat Behind Apache Httpd?

Dec 19, 2009

I just did a clean install of FC12 x86_64 and want to configure tomcat to run behind apache httpd. What is the easiest way to accomplish this? I'm a newbie at server configuration so detailed instructions would be nice

View 4 Replies View Related

Fedora :: HTTPD Enabled - This Service Is Dead

Mar 26, 2010

I have opened up the Service Configuration window that shows all the services and their status. My httpd says that it is enabled, but also that "this service is dead" and there is a orangish triangle. I can run phpMyAdmin on my server, but I can't run it from any other PC on my network.

View 13 Replies View Related

Fedora Networking :: VPS - Blocking HTTPD DOS Attacks?

Apr 6, 2010

I have a VPS which is running HTTPD, and its getting blown to bits by a DOS Attack. Turns out mod_evasive is totally useless (due to not running a total - rather counting per child process) and the only way to stop the box from running at 100% on all cores is to term HTTPD. So, what rules can I implement on the iptables firewall to block multiple requests from an IP? I saw this: [URL] Where someone has posted some rules but these dont work ("unknown error 4294967295" on the 3rd line). This is what i'm after though - block multiple requests from a single IP for a certain period of time.

View 3 Replies View Related

Fedora Servers :: HTTPD Does Not Start On Boot

Jun 24, 2010

On this system httpd does not start on boot. I can manually start it without errors with service httpd start.

Code:
chkconfig --list httpd
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Where do I look to see why it wont start?

View 9 Replies View Related

Fedora :: Httpd Won't Start Failed Error

Nov 18, 2010

I rebuilt my box with Fedora 14. installed httpd, mysql php etc. when I tried to start my httpd it was giving me error about finding the root document and server name I was able to fix temp the issue with the name by placing ServerName 192.168.1.105:80 in the httpd.conf file and the root document somehow was fixed also. but I am still can't start the httpd and no error message except that it failed. I also disabled Selinix but still no luck.

View 11 Replies View Related

Fedora :: Httpd Error 98 On Fresh Install?

May 15, 2011

Sometimes httpd (the apache web server) fails to start and displays an error (98: Address already in use: make_sock: could not bind to address xxx.xxx.xxx.xxx:80). This happens even when no other service is listening on port 80, as evident from the output of "lsof -i :80" and "netstat -A inet -lnp". This is due to a configuration file mixup. Both /etc/httpd/conf/httpd.conf and /etc/httpd/conf.d/system-config-httpd.conf contain the directive "Listen :80". If you comment out the "Listen 80" in /etc/httpd/conf.d/system-config-httpd.conf, httpd will again start.

View 1 Replies View Related

Fedora Networking :: 3G USB Modem Has Wrong Device Port In NM - Change Device Port In Network Manager?

Aug 14, 2009

I installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?

View 1 Replies View Related

Fedora Installation :: HTTPD Services Dead - Cannot Resurrect

Feb 1, 2009

Since I started using Fedora 10 I can't login as root. Even though the system recognizes the root password when it requires it for certain administrative tasks it refuses to let me login as root.

When I try to edit httpd.conf I get the message "could not save file..." it doesn't even prompt me for the root password. My httpd service is dead and I can't resurrect it, what should I do?

View 2 Replies View Related

Fedora Servers :: HTTPD Dual Nic Using Eth1 Instead Of Eth0

Mar 2, 2009

I've just setup Fedora 10 x64 on a Supermicro 7045 with dual nic; I setup a web site and ran into a strange problem; I can't see my website from outside my LAN; checking IP on Internet it sees my IP as coming for my dynamic IP (IP of router/switch) and not my static IP.

eth0: Static IP
eth1: Dynamic IP

These are standard Intel 82563EB Dual-Port Gigabit Ethernet Controller.

Is there a way to specify the order in which it sees the nic ports?

I'm wonder if I can mix Static and Dynamic IP's; on the outside they resolve to a static IP; the dynamic one shows up as my router/switch IP; but it allows me to access my DHCP computers; this isn't a web server; but a development machine for writing PHP apps.

Where 123.123.123.3 is my static IP address.

I should mention that nmap -v -p 80 123.123.123.3 shows an open port on 80

My VirtualHost is setup like:

View 11 Replies View Related

Fedora Servers :: Httpd Starts But Doesnt Work ?

Mar 18, 2009

I want to run a web server.

I've done

When i do [url] i get a blank page.

View 14 Replies View Related







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