Fedora Servers :: Apache To Block Old Websites?

Apr 8, 2010

I have got a small queston: I have got several websites and some time ago I decided to delete some of them. As a result there is no virtual hosts on my web server, but if I will go to my_old_website dot ru I will be redirected to one of my current web sites (or if I will paste an ip address in browser), I want to know, how to block this?My virtual host's looks like this now:

Code:
<VirtualHost *:80>
ServerAdmin my_mail

[code]...

View 4 Replies


ADVERTISEMENT

Ubuntu Servers :: Apache Two Websites One IP

Jun 12, 2011

So here is my problem. I have websiteA.com and websiteB.com. I only have one public IP address. And websiteB needs to be constantly restarted, so both need to be on separate apache servers or instances.Virtual directories wont work cause I can only point websiteA to a directory /var/www/websiteA.Reverse proxy wont work cause I can only catch a sub directory.Proxy /websiteA/ URL...Does anyone know how I could get this to work in anyway.

View 4 Replies View Related

Ubuntu Security :: Block All Websites Except Desired Websites?

Apr 12, 2010

I want to block all websites except desired websites.

View 3 Replies View Related

Debian :: Block All Websites And Then Allow Only One?

Oct 6, 2009

My name is hentry varghese.i want to know how to block all websites and then allow only one.fof example:"www.gmail.com".please give me the complete commands one by one to do that.

View 1 Replies View Related

General :: Any Way To Block Specific Websites?

Jul 28, 2011

How to block unwanted sites.

View 1 Replies View Related

Security :: Block Websites In Proxy?

Jul 1, 2010

here i would like to inform you that my company ask me to block facebook site at the work time it is: 08:00-12:30 and 14:00-17:30 in proxy server.i'm still confuse how to do!i need the details configuration in squid regarding how to block the sites

View 2 Replies View Related

General :: Block Windows Update And Certain Websites?

Jan 24, 2011

I'm live in a place where internet bandwidth costs an arm and a leg. I have been playing around with Clear-Os, and would like to know how to block windows update and certain websites.

View 2 Replies View Related

Ubuntu :: Dansguardian And Block Secure (https://www...) Websites

Nov 1, 2010

I have installed Dansguardian on my little brothers laptop (using Tinyproxy and Firehol too) and I have it mostly configured the way I like it. The only problem now is that I can't seem to block secure (https://www...) websites, and he knows a few proxies that use secure domains. I was wondering if anyone has been able to make Dansguardian block these websites or is it just not doable?

View 1 Replies View Related

Ubuntu Security :: Block Websites With Nonsudo Password?

May 30, 2011

I want to block a list websites from myself using a password that I don't know.I would randomly generate it or something.Everything revolves around sudo, though, so I don't know how.Long to short: how do I blacklist websites using a password other than my sudo password.

View 2 Replies View Related

Networking :: Block Specific Websites - Preferred Method ?

May 19, 2010

I'm trying to block specific websites, preferably using a portion of the url.

For example, if blocking [url], [url] would also be blocked. This implies that simply blocking a single IP using iptables would not work well.

The names to block will be somewhat dynamic, so a list specification would be ideal.

In my case, the LAN has a mix of linux and ms machines, and they all use a linux gateway currently running dnsmasq.

I find suggestions from using /etc/hosts (might work with yp, but not ideal) on the gateway machine, through to using squid on the gateway machine.

View 9 Replies View Related

General :: Setup A Proxy Server To Block Access To Some Websites?

May 22, 2011

i was tasked to setup a proxy server to block access to some websites. i'm using centOS 5 and Squid 7:2.6 STABLE21-6.e15...i appended the following and tested the configuration with the supposed server i am using and the it does seem to work but now i'm wondering how i can test it with a client computer..i have 2 LAN cards and i just connected the other to one PC (can a direct connection work or does it need to pass thru a switch or hub)...i just can't figure out how it should be... how do i configure the 2nd LAN card to use this computer as its proxy server?

View 8 Replies View Related

Software :: Get Squid Proxy Server To Block Websites Using Webmin?

Jul 17, 2010

i have been looking up ways to block websites in linux but most all of the free ones only block the sites the software makers want to (or you can't block just the sites you enter without blocking the sites that it wants to)i need to know how to block only websites i enter with squid using webmin

View 3 Replies View Related

Fedora Servers :: HTTP - Can't See Websites Externally

Dec 7, 2009

HTTP - Can't see website(s) externally

View 4 Replies View Related

Fedora Servers :: Have Multiple SSL Websites On Single IP With Different SSL Certificates?

May 8, 2009

I would like to know if I need multiple IPs' to setup two SSL urls on the same Apache server? Two ssl certificates, one IP - is it possible?

View 4 Replies View Related

Fedora Servers :: Loading Local Websites Takes For Ever?

Sep 14, 2010

I develop many websites at the time in php, so I created virtual hosts in apache. In order for them to work properly I edited /etc/hosts like thisQuote:

10.50.2.105hal.mundohal# Added by NetworkManager
127.0.0.1localhost.localdomainlocalhost
::1hal.mundohallocalhost6.localdomain6localhost6

[code]....

View 1 Replies View Related

Ubuntu :: Create A Virtual Directory In Apache For One Of Company's Internal Websites?

Feb 22, 2011

I have a need to create a virtual directory in Apache for one of my company's internal websites. I have confirmed that I can create an alias for a local directory: Alias /vdir/ "/usr/share/somefolder/"

So I would get to this virtual directory by going to http://server.domain.com/vdir/. But when I attempt to point it to a shared folder on another server:

Alias /vdir/ "//servername/share/"
or
Alias /vdir/ "//servername/share/somefolder/"

Both return the 404 Not Found error, which I would expect if it is not connecting to the share. I've searched but can't seem to find the correct syntax and I know I am missing something basic. I have searched google and these forums but can't seem to locate the exact syntax. Are there other lines in the config file I need? Permissions should be no problem the shared is EVERYONE has access (for now).

View 7 Replies View Related

Fedora Servers :: Xdmcp Double Login Block?

Jul 22, 2010

How can I manage to avoid double login to a user account in the server by remote users? Is there a way to block it or to hide logged user accounts?

I have two server, one f12, the other f13 (behind a firewalled router) and want them to serve desktops to anybody in the local network. User accounts in both servers are established as username: user1 password: user:1 , username: user2 password: user2 ....... Every remote user should take an available user on server but no multilogin to the same user. Remote users are no adult so they can mistake. That's the problem. On the remote dektop section unmark everyone can see my desktop didnt help.

View 2 Replies View Related

Ubuntu Servers :: Run Two Websites(servers) From One IP Address?

Jan 30, 2011

Is it possible to run two servers through one ip address? And I don't mean through apache to run virtual servers. Right now my set up is: Cable modem>router>server.

View 9 Replies View Related

Fedora Servers :: Run Apache On LAN?

Feb 23, 2009

I installed fedora10 on my system with live cd.I started httpd service.I also set static IP address, subnetmask and default gateway as my proxy server.It is only accessible through http://localhost at the same machine.but I need to access it through http://ipaddress/ on my other LAN machines which has window operating system.

View 8 Replies View Related

Server :: Script For Apache - Block IP When Access Exceeds

Dec 8, 2010

I need to make a script in which I want to block an ip when its access on a web server exceeds than certain number e.g., 5000 for a particular time period, let's say for 6 hours or 12. If any ip exceeds that limit, it should automatically be blocked. I also want to run this script on regular intervals in 24 hours for atleast 2 times.

View 2 Replies View Related

Fedora Servers :: CentOS 5.2 - Apache And New PHP

Feb 7, 2009

I've installed a server (CentOS5.2) - and I need a new(er) PHP, so, I get me one. This is what I did:
- unzipped the bundle in the root's home
- of course, I entered the folder
- entered "./configure"
- entered "make" - the compile didn't come back with errors
- entered "make test" - there was a _possible_ fail...
- entered "make install"

I noticed there's nothing in the /libs, where I'd expect a module (lib5php5.so) to exist. there is one, but it belongs to the older PHP. It's located in ets/httpd/modules (a link BTW - but I think that's normal). At the console I type:
"which php" and get a path to PHP /usr/local/bin/php
"php --version" and get 5.2.8 and some extra info
in the server I entered "<?php phpinfo(); .>" in a PHP page, as I call that page, I get ... 5.1.6 as version.

Of course, I suspect Apache to have the OLD PHP in its config, (the old lib5php.so) and that I may have to overwrite the old one with the newly compiled one, if I had it. I ran a locate on the system, but no other lib5php.so files exist. Where did I loose track?

View 2 Replies View Related

Fedora Servers :: Apache Does Not Start?

Feb 15, 2010

FedoraVersion 12 ConstantineNoyau Linux 2.6.31.12-174.2.3.fc.x86_64Gnome 2.28.2Memory 871.4 MoAMD Athlon LE-600Free disk 71.5GoSelinux is deactivated.Httpd doesnot start and, when I start "onfiguration des services", and click D�marrer, it runs for ever, but never starts Apache...

View 8 Replies View Related

Fedora Servers :: Apache Does Not Output Php

Jul 20, 2010

I have now blown Windows XP away completely and done a clean install into 80Gb hard disk (x86). I know that httpd is running and I've added the snippets to httpd.conf that output server status and server info to the web browser, so I can see that all the required PHP stuff is loaded. So something like http://localhost/server-info works fine but something like http://localhost/helloworld.htm produces the wrong output:

contents of helloworld.htm:

<?php>
print("hello world");
print(phpinfo());
<?>

[Code]....

View 4 Replies View Related

Fedora Servers :: 14 Apache Error 403?

Dec 24, 2010

I moved from F12 to F14, I've installed using yum Apache, MySql, php, phpMyAdmin. That all works fine, I've made index.php with phpinfo() function and if it is in /var/www/html/ it opens in web browser. I extracted daloradius-0.9-8 in /var/www/hmtl/daloradius folder changed ownership to apache:apache set alias to myradius. When I point web browser to localhost/myradius I get error 403, forbidden. I moved index.php with phpinfo() to daloradius (overwriting old index.php) and same stuff happens. Error 403. What am I doing wrong?

View 4 Replies View Related

Fedora Servers :: Apache Binding Only To Ipv6?

Feb 14, 2009

I just installed FC 10 and have apache running with the default config. the problem is that it is only listening on ipv6 for ports 80 and 443

Code:

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 2059/exim
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 2059/exim

[code]....

here is the only part in the httpd.conf file that seems to have anything to do with this:

Code:

Listen 80

which from my understanding should make it listen on all interfaces, ipv4 and ipv6

View 8 Replies View Related

Fedora Servers :: Non Default Apache Install?

Feb 28, 2009

having an absolute mare on this one and doin me in.! I'm trying to install apache on fedora 9 to a non default directory /usr/local/apache as i need to set it up with resin see[URL]... I've removed the default install with yum remove httpd and then tried installing using apache's ./configure make make install commands. This all appears to work ok but when trying to start the server i get command not found error.any suggestions **ps why are the apache files all over the place in fedora..

View 14 Replies View Related

Fedora Servers :: SSL Apache Non-Standard Port

Mar 21, 2009

I have been struggling with this for the past two days and I can't seem to figure it out.SIMPLE GOAL: use subdomains with my wildcard Rapid SSL cert on Apahce2. This is not a chained certificate.Currently my default SSL virtual host, listening on 443 works fine. So, https://www.myDomain.com is recognized correctly by all browsers. But, the below virtual host listening on port 1025 is not coming across to the browser securely. The page renders, but the browsers do not see it as encrypted SSL.

View 1 Replies View Related

Fedora Servers :: Apache Mod_proxy Abuse?

Mar 29, 2009

I'm running Fedora 10 with Apache 2.2.11 and I noticed something a little strange going on. This morning, logwatch alerted me to the following concerning apache:

Code:

Sure enough, the apache access log file shows the following:

Code:

mod_proxy is disabled in the apache config file anyway (default mod_proxy commented out):

Code:

When I tried to access my web server to check, it was down, and I got the following when checking its status:

Code:

So I checked the apache error logs and found the following:


Code:

There's nothing wrong with line 188 of the config file:

Code:

It seems fairly apparent that there has been an attempt to use my web server as a proxy to gain access to other servers, so I have a couple of questions:

1) I presume that the attack failed, since mod_proxy was disabled?

2) Why did my web server crash? (It has never done this before). It seems very suspicious that it tried to restart, but failed to load proxy_module modules/mod_proxy.so on the same night that someone had attempted to use mod_proxy. I have since successfully started apache without making any configuration changes.

3) Do I need to worry that any part of my system has been compromised?

View 4 Replies View Related

Fedora Servers :: Setup The ERuby On Apache?

Jun 17, 2009

I'm trying to setup eRuby on my Apache server, and I'm having problems. Currently, I have this in a separate config file in "/etc/httpd/conf.d/eruby.conf":

Code:

AddType application/x-httpd-eruby .rhtml
Action application/x-httpd-eruby /cgi-bin/eruby
DirectoryIndex index.rhtml

I have a file named "index.rhtml" in a folder called "test" that's in the root of my server. When I try to get to the file I get this, though:

Code:

You don't have permission to access /cgi-bin/eruby/test/index.rhtml on this server.

View 3 Replies View Related

Fedora Servers :: Changing Cgi-bin Folder In Apache

Jun 17, 2009

I've run into some problems trying to change the default cgi folder from /var/www/cgi-bin to /var/www/cgi-local (in order to migrate scripts from a much older server to a new one). I have edited httpd.conf to modify the following:

Code:
ScriptAlias /cgi-bin/ "/var/www/cgi-local/"
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-local">
[Code]...

I have also tried several variations. I left ScriptAlias at the default "/var/www/cgi-bin" and I have tried it with AllowOverride None and without the +ExecCGI after Options. I am getting a 404 error when a form has an action directed at a cgi script that is in cgi-local.

View 4 Replies View Related







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