I need to restart Apache and Varnish and email some logs when the script can't fetch robots.txt but I am getting an error
./healthcheck: 43 [[: not found
My server is Ubuntu 12.04 64-bit
#!/bin/sh
# Check if can fetch robots.txt if not then restart Apache and Varnish
# Send last few lines of logs with date via email
PATH=/bin:/usr/bin
THEDIR=/tmp/web-server-health
EMAIL=dude@email.net
mkdir -
Hello Friends!
I wonna ask you
I have to change my domain name.
I know how to make redirect and change robots.txt
But other things I do not know well:
1). Do I have to add my new domain name (which will be the main name) as a parked domain name or as an additional domain name.
2). What should I do with hosting folders?
I would like a solution to my problem where i have 100s of domains on an apache server. I don't want a separate log file for each domain i want them to share a log file. This is easy enough if i don't need to rotate them.
If I want my main website to on search engines, but none of the subdomains to be, should I just put the "disallow all" robots.txt in the directories of the subdomains? If I do, will my main domain still be crawlable?
Nikki and the Robots 0.4 got released and you can view a video showing the changes at Vimeo or YouTube: We released Nikki and the Robots 0.4.0 (0.4.1.1 actually), which you can download here or via in-game updater. The new features are: New robot: Canon! It shoots canon balls that disappear after 10 seconds Players [...]
Hi !
Strange behavior since few days on one account on cpanel :
I have more that 10 domains parked on the main account domain, with subdomains (wildcards) working fine.
Now i added some new domains but when i want to create some subdomain, only the main domain appear in the list !
Joyride Laboratories has released version 0.3.2 of Nikki and the Robots, which is currently in the alpha stage of development: We have thought about how to release “Nikki and the Robots” for a long time, and this is what we finally came up with… First, there is a fully playable version of “Nikki and the [...]
I am currently writing an admin page for my webserver, to make it easier on myself to create new apache domains from my browser. Everything is pretty much working as I want it to, except for one thing.
To elaborate: I have a cron job on my server running a bash script as root that checks a file containing a list of domain names that I want to be created.
As an example - http://aok.heavengames.com/cgi-bin/aokcgi/display.cgi?action=t&fn=22.
I found a way to get through the robots.txt restrictions, but even then, it just downloads a binary file that's unreadable by anything.