Server :: Script For Testing Files On Websites?

Mar 4, 2011

I would like to have a script which I can use to test if files on some certain sites are available and if their size is bigger then 0 bytes. I do not want to download them, only check them. If I would use wget they get downloaded I think.

View 1 Replies


ADVERTISEMENT

Server :: Access The Log Files For Multiple Websites?

Apr 1, 2010

I have managed to configure AWstats to work from one server to access the log files for multiple websites on multiple servers and even managed to write a little front end php site to access all the different conf files. I want to know if there is a way of combing two conf files for the same site but are on two different servers in a loadbalanced situation. so my conf files look something like: [URL].. I have to monitor bandwidth for our websites and its gets tedious switching between the various conf files for the same site and totaling it up so I was hoping I could combine the output of both conf files on screen using some funky command in the awstats.pl script

View 1 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

Server :: Resolv.conf Was Edited, Server Stopped Serving Websites?

Feb 21, 2010

I'll preface this by saying i'm by no means an expert on Linux. A competant beginner at most.We have a dedicated server, the 'resolv.conf' was changed, specifically the domain that was listed (this is the primary domain).I only became aware of this change, when we get into work on Friday and all our sites were down - I attributed this to DNS fault as if I changed my host file (I work on a windows machine) and specifically routed to the domains to the correct IP address, the websites were served fine.I tracked down the resolv.conf change by quizzing a collegue. I then switched the resolv.conf file back to it's original state - luckily a backup was made so I am 100% sure that the current resolv.conf is the correct one.

change was made Friday morning, around 9.30am (UK time). It is now 5.05pm (UK time). The original change was made sometime on Weds afternoon, and the sites stopped serving between Thursday night and Friday morning.Does anyone have any idea how long it should take for the fix to be picked up? Will it be picked up? I just started to think that the change can't be picked up due to some DNS related voodoo.

View 4 Replies View Related

Server :: Mysql For Multiple Websites?

Aug 1, 2011

I currently have a single mysql instance for a couple of websites. Both websites require that the user provide a username.

The thing I just noticed is that two people might choose the same username for both applications. Both of them would have grants to each others' tables, although neither would ever be able to access them, since they can only access through php scripts.

But, I'm now guessing this is not best practice. What does one do? Run multiple instances of mysql for several websites?

View 4 Replies View Related

Ubuntu Servers :: Testing Website - How To Hide PHP Code And Files

Mar 12, 2010

I have just set up my web server for the first time in Linux (used to be Windows 2003). I have a web site [URL], could someone with experience please check this web site to see if the PHP files are hidden (and therefor my PHP code can't be seen). If they can be seen then how do I hide the PHP files?

View 6 Replies View Related

OpenSUSE Network :: DNS Server Not Resolving For Some Websites?

Jun 7, 2009

I have installed Bind DNS server in Opensuse 11.1 and it was running fine for two weeks. However starting last week it was unable to resolve a lot of internet sites (e.g. opensuse.org). I can say it is working partiallyI tried restart the named service and it worked fine for only about 15 minutes and back to partial condition.All the records in zone files can be resolved. Only some internet websites not able to resolve. The same sites can be resolve with another dns server internally

View 2 Replies View Related

Server :: 2 Websites (domain Names?) 1 Cup Err Ip Address?

Dec 13, 2010

So I'm looking to host potentialy three different...sites...I want to call them from the same machine. One is a radio station and the other 2 are just straight websites. So I wanted to know if I had to use different machines to accomplish this or can I alter maybe the http conf file or what. I did find this in the forums but wasn't quite sure if this applied to me. [URL="http://www.linuxquestions.org/questions/linux-software-2/serving-multiple-domain-websites-on-one-server-329914/"http://www.linuxquestions.org/questions/linux-software-2/serving-multiple-domain-websites-on-one-server-329914/[/URL]

View 1 Replies View Related

Server :: 4 Websites On Different IP - How To Host Them Using Apache2 Mod_proxy ?

Apr 12, 2010

Dom0 is having public IP. I read a lot of blog and tutorials about name based and IP based hostings and also about mod_proxy. But I am unable to do.

Here is what I am trying to do. I have a webserver on public IP.Which is running Xen on it. There are 4 Guest Operating systems installed on top of Dom0 which are Dom1,Dom2,Dom3,Dom4 These are application servers which are going to serve the requests that come from the main server.Which is Dom0.

All I see is "It works" on all 4 of the hosts. On my LAN on any machine on same subnet if I do [url] of Domu1 message comes

Code:

in browser from LAN gives me a message

Code: It works.

What do I need to do on Dom0 so that requests are forwarded to the appropriate DomUs apache2 is running on all of them including Dom0.Some one suggested me to go for ReverseProxy in Apache2.

View 3 Replies View Related

Server :: All Websites Are Down And Can't Find Whats Wrong

Nov 17, 2010

I have a CentOS Server and i use ispconfig 3. I have hosted 10 websites and the other day all my websites went down. I have tried to look at the logs i cant see any thing ISPconfig logs dont have any errors.

View 5 Replies View Related

Server :: Public_html Setup To Store Few Websites?

Oct 17, 2010

I'm planning on hosting a main website for my school (Wordpress) and a few websites (< 10) for some teachers (Wordpress, Moodle, Joomla). Someone of the teachers needs to access his/her folder via ftp to upload documents, images,... I'am using apache 2 on ubuntu server 10.04 LTS, 4GB RAM, 2 x 500GB Hard disk (RAID hardware).The server is connected directly to the router DMZ (netgear dgn 2000).

1)If I store the teachers' websites in public_html, should I create as many user as the teachers? And how to set permissions? And where to put the main site and moodle?

2)What are your recommendations about security?

View 3 Replies View Related

CentOS 5 Server :: Setting Up Multiple Websites/IPs?

Sep 25, 2010

I've currently got a centos server setup in my home. It has 1 website running on it and I am using DynDNS.com's service to access the server. DynDNS works by redirecting a free url to the IP address of your server. I would like to add a second website under a different url. However, I'm not sure how to add a second IP address (which I would then use with DynDNS to create a new url).

View 3 Replies View Related

Programming :: BASH Script Optimization For Testing Large Number Of Files

Sep 18, 2010

I want to move files from a $SOURCEDIR to a $DESTBASE/$DESTDIR. Under $DESTBASE there are many directories, and I need to test beforehand if a file from $SOURCEDIR already exists in any of them.

This is obviously extremely slow, and the real use case involves dozens of dirs and thousands of files. Creating a temporary "index" file for the find command (instead of running it every iteration) speeds it up a little, but it's still very clumsy.

View 14 Replies View Related

Server :: Slave Dns Server Testing Work?

Apr 21, 2011

how can i teste that my slave dns work better;knowing that my primary dns is in an other machine .i tried to dig the slave ;i have the response but when i halt my primary dns ,i couldn't dig the slave dns.

View 6 Replies View Related

Ubuntu Networking :: PPTP Server Some Websites Don't Load?

Jun 24, 2011

Running Ubuntu 11.04 Server 32bit fresh install

I did this walk-through trying both iptables and ufw

I am able to connect to my VPN server using both windows 7 and Ubuntu desktop just fine, and using wireshark verify that all packets are being compressed and sent through the VPN tunnel.

Many sites work but there are several that will not load while using the VPN, one of them is ubuntu forums also sourceforge.

I can ping the servers while connected but the websites just will not load, and time out. The second I disconnect from the VPN they load instantly.

View 1 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

Server :: Dansguardian - Allowing Websites With The Word Essex In The Domain Name?

Jun 30, 2010

I'm having some problems allowing websites with the word essex in the domain name. I've been running dansguardan for some time now and have managed to make rules to allow and disallow sites, but I've now hit a brick wall on the latest request from staff here. which config file i need to edit.I've tried adding *essex*.* to the exceptionsitelist, but these sites are still blocked. Example sites are [URL]

View 1 Replies View Related

Server :: Use A Reverse Proxy To Forward A Lot Of Websites Via 1 Central Place?

Oct 8, 2010

We use a reverse proxy to forward a lot of websites via 1 central place.so hould forward to an internal server.I already managed to forward a lot of website correctly, except for this one:hen I type:ttp://blablahblah/smt/webtier-7-11 it doesn't work correctly, but How can I make the first url to work ?

ProxyPass /smt http://192.168.10.38:8080
ProxyPassReverse /smt http://192.168.10.38:8080
ProxyPassMatch ^/((smt|webtier-7.11)(/.*)?)?$ http://192.168.10.38:8080/$1

[code]....

View 5 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

Ubuntu Servers :: Running Multiple Websites On Single Server - VirtualHost

Aug 25, 2010

I currently am running 10.04.1 and have successfully setup my home web server to run a single website. My current settings are:

-I have registered the domain name annarrankings.com through godaddy
-A record is - host = @ and points to = 71.114.220.3
-CName is - host = www and points to = @
-on my server I have the site running in /var/www

I've done some research and found that to run multiple websites I need to setup VirtualHost.

-So I created a folder /var/www/annarrankings.com and moved my site to that folder

-Edited Apache2.conf to add the following line

-I then went to /etc/apache2/sites-enabled and copied the default file to a new file called annarrankings.com. Here's the annarrankings.com file after I edited it

-I then created a link in /etc/apache2/sites-enabled to the annarrankings.com file in /etc/apache2/sites-available

-Next I editied /etc/hosts

-When i went to enable the site using a2ensite annarrankings.com I got the following

I figured this was ok since I had already created a symbolic link earlier (a result of trying to following multiple tutorials and ..... videos at once) so I reloaded apache2. I created an index.html file in /var/www/ just for testing purposes and when I load www.annarrankings.com I get the file located in /var/www/ instead of the website located in /var/www/annarrankings.com Do I need to change my A record or CName in godaddy or did I just do this completely wrong?

View 8 Replies View Related

General :: Apache Server For Testing?

Jun 11, 2010

Iam using red hat linux for testing Apache server.The apache server "httpd" is working and in the web brower when i write "http://localhost" itshow me the apache test page. Well i want to know that where this test page exist and if i want to change this page and add my pwn web page then how can I do it. (My server IP address is 192.168.1.10 Subnet mask 255.255.255.0)

2- An other linux client computer is connection with a switch when it open its brower and write my apache server ip address in the web browser like http://192.168.1.10 it show melinux directory structure instead of apache test page. My client IP address is 192.168.1.20 Subnet mask 255.255.255.0)


3- My last computer running windows xp whic is(IP address 192.168.1.30 subnet mask 255.255.255.0 ) also connection with the switch for testing purpose.When I open IE and type http://1920.168.1.10 it say "page cannot be displayed"

View 2 Replies View Related

Server :: Testing Scripts From Shell?

Jan 18, 2011

How can I test a script that's written to receive arguments from an html form, from the shell?

View 6 Replies View Related

Ubuntu :: Upload Website To Testing Server?

Feb 2, 2010

This is what I have thus far:
1. uploaded Ubuntu 9.10 and finally got rid of windows
2. installed LAMP -
3. trying to extract a site to var/www

The Problem: I keep getting the message I do not have permission to that folder.

View 2 Replies View Related

Hardware :: Two Computer Network For Server Testing?

Jul 19, 2011

I would like some opinions on creating a two computer network so I can study a server in action. I would prefer that it was on a level below accessing the internet and then being routed back at this point. Installing a router is fine.

View 1 Replies View Related

General :: Testing Negotiation Between Server And Client?

Apr 11, 2010

How do i test negotiation between server and client for various protocols like:

ppp
pppoe
pptp
L2tp
dhcp

View 5 Replies View Related

Server :: Setting Up Home Webserver (for Testing)?

Jun 28, 2010

I am interested in setting up a webserver on a PC I have laying around...more for the experience and knowledge of learning it from scratch. I have used dedicated servers before with webhosting, but did not do the installations of apache and other items. The server we had purchased had CentOS installed.

My question is, can I use this desktop I have to simply install the CentOS DVD torrent off their website, and start from there, with installing apache, and all the other items associated with a server environment to test/play around, or is there a difference and something I am missing with my plan to do this?

The end result will be having my desktop setup as a "server" I can ssh into and screw around with just to learn more about it.Sorry for the basic question. (i posted this here instead of the "newbie" section, since i figured it would get moved here)

View 6 Replies View Related

CentOS 5 Server :: Update Php To Testing Repo Php Via USB?

Dec 6, 2009

how can i update php to the latest version from the testing repo via USB ? my machine has no internet access and no cdrom, my only choice is via USB, i have a 2 gb USB.

edit: i am trying to follow this guide: [URL] since i have no internet access, i have downloaded all files to my USB stick. i added the testing repo manually. is there a way to instruct centos to update these packages from my usb stick ? since i have them on USB, i can upload them on centos.

View 2 Replies View Related

General :: Make DHCP Server With Router - Use It For Testing

Aug 12, 2010

I had installed Ubuntu 10 to my desktop computer & I want to make it as DHCP server with Router, and use it for testing. I had installed dhcp server (apt-get install dhcp3-server) what should I do further? What file to edit?Also , I had 2 network cards, so I had to assign correctly the IPs & interfaces.

View 1 Replies View Related

Server :: Courier - No Such File Or Directory When Testing IMAP And POP

Jul 28, 2010

Using the following software:
Ubuntu Server 8.04
SquirrelMail 1.4.13
Postfix 2.5.1
Courier 0.59.0 (Courier-IMAP 4.3.1)
Apache2 2.2.8

I've installed a mail server per the instructions at [url].

Neither POP nor IMAP test successfully with the user that I just added after following the setup instructions.

This doesn't make any sense. I added the user to the mysql database:

Code:

And after I did that, I ran the postfix reload command. If I try to log in as firstuser@mydomain.com, which is the user I created during the setup and configuration process, it works fine.

I checked the virtual mail account's home folder, and under the mydomain.com folder, I only see a folder for firstuser. I'd create one for testuser manually, but I don't know if that'll work since it seems to contain a particular folder structure of its own.

Is there some other command that I have to run? I don't recall having to do anything additional when setting up firstuser.

View 5 Replies View Related

Server :: Duplicating Http-traffic For Testing Purposes?

Jan 3, 2011

is any apache-module out there that allows duplicating traffic?

I want to test an new Application Server by duplicating the traffic from the old production system. Answers of the new will be DROPped ...

View 1 Replies View Related







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