How To Create New Directories

Jan 28, 2007

There is no directory for the root account on my server. The server admin tells me this:
"It looks like all the files in there were deleted. I suggest you terminate and recreate the site in order to reset all the relevant directories."

Can any one tell me the ssh command that will do this for me?

View 4 Replies


ADVERTISEMENT

Server2Server FTP Whole Directories And Sub-directories

Dec 23, 2007

I want to copy whole directories about 20gb to another server across the world.

If I type "mput *" it will say "not a plain file" for directories.

How do you move an entire site, I don't want to achive and move because it is big.

View 1 Replies View Related

Create A Zend Id For Your Machine. This Is Apparently For Them To Create A Product Key For Their Software

Aug 7, 2008

Customer has requested the following:

"Create a zend id for your machine." This is apparently for them to create a product key for their software and have to bind to it?!

I have never heard of this and have been unable to locate any information on it.

This is a Centos box with php 5.2.5 installed:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

how to go about this or even what this is?

View 2 Replies View Related

What Is The ~ For In Directories?

Dec 3, 2006

I have come across some stuff on the internet that has a file structure looking like this:

/~root/guests
/~operator/a

What does the ~ stand for? Is it something to do with a linux directory structure?

View 3 Replies View Related

Usr And Var Directories

Sep 16, 2008

Which of those directories: usr and var are allowed to rename for a moment and mount their content on a new HD so that SSH and server will not stop work?

View 2 Replies View Related

See All Directories USing SSH

Jan 16, 2007

Running a Linux server, how can I see all the directories? And is there a common list of directories on all Linux servers?

View 10 Replies View Related

What Are All Of The Mysql Directories

Jul 1, 2009

So one of my hypervm servers, got a lot of corrupt binaries in the operating system, CentOS.

My datacenter has plugged in an external hard drive so I can backup my files there so the DC can reformat the server.

I know that I will need to copy: /vz and /home and /etc

But.. the one important thing is the hypervm MySQL database! What do I have to backup? /var/lib/mysql ? any other directories?

And how would I restore that MySQL to the new server, when hypervm is installed and the server is formatted?

I will be installing hypervm on the server again when it's done formatting.

I know that hypervm has exploits, so I am going to stop hypervm once I get the server up and running back on its feet. And then switch to VZWave when the production version comes out.

View 8 Replies View Related

Using PHP & 404's To Emulate Directories

Mar 23, 2007

I am working on a website which is planned to have many articles, each with their own directory [url].

I would like the website to be as automated as possible in terms of adding new content and the like.

After a little bit of research, I learned about Apache's ErrorDocument directive, and IIS's equivalent.

What I had in mind was that users would type in the URL they wanted (such as [url], and the server would not be able to find this directory and would try to return a 404.

The file I would tell the server to use for 404 messages, would be a PHP file. It would read what the URL was (to find out what the user wants to look at), convert the data from the URL into the same format as details of articles held in my database, and the script would then check to see if there were any articles available which matched what the user was looking for.

My understanding is that if an article exists, I will be able to extract the article information from the database, and present this as the web page while manually sending a HTTP 200 response. If the article did not exist, a standard 404 page could be offered.

My questions are:Is my understanding of the process here correct?

Is the process and procedure that I want to follow correct? Does it have any flaws?

Other than how to tell the server about the custom ErrorDocument PHP script, is there anything which differs the process between Apache and IIS?

Assuming that the above works for typical users, would it work properly for search engines as well?

View 5 Replies View Related

Home Directories Gone

Jan 2, 2007

Clients home directories keep randomly being deleted. The accounts aren't terminated, just the home directories.

I've changed root pass etc, any other ideas what could be causing this?

View 7 Replies View Related

FTP Not Showing Directories

Dec 31, 2007

Whenever i try to connect to ftp through any of my server account then its not showing any directory inside public_html but when i use cpanel file manager then its working fine i also tried to used differect ftp client program but still problem not solve will any of you help me? ftp successfully connected but not showing files and folders .

View 3 Replies View Related

About Secure Php.ini Directories

Dec 27, 2007

how can i secure the following options in php with whm box

this is my php.ini settings

Code:
open_basedir = /home:/tmp

include_path = ".:/usr/lib/php:/usr/local/lib/php:/usr/lib/php/extensions:/usr/lib/php/extensions/no-debug-non-zts-20020429:";

safe_mode_gid = Off

safe_mode_include_dir =

safe_mode_exec_dir =
i want no one can access other user (User Bypass) with php shell

i am running whm with apache 1.3.39 and php 4.4.7 phpsuexec

how can i secure these options

View 5 Replies View Related

User Nobody And 777 Directories

May 9, 2007

I have a couple of scripts on my server that require directories to be chmoded to 777.

This has let hackers upload code that is being used in phishing schemes to my server.

How can I prevent that? can I disable user nobody?

View 14 Replies View Related

Hidden Files And Directories

Jan 25, 2007

when I FTP into my server, I can't see the files files and folders starting with dots, such as .thumbs or .htaccess. How do I configure my server (through SSH) so that these files are visible rather than hidden? I'm running Fedora on my server.

View 2 Replies View Related

How To Change The Permission All Directories

Jul 20, 2009

In my server permission got corrupted cpanel said to change the permission manually to all the domain how can change the permission of the all the domain using the script ...

root@Core2Quad [/home/a7ydc]# ls -al
total 108
drwx--x--x 12 root root 4096 Jul 18 09:53 ./
drwx--x--x 958 root root 24576 Jul 20 21:37 ../
lrwxrwxrwx 1 root root 31 Jul 17 16:03 access-logs -

> /usr/local/apache/domlogs/a7ydc/ ...

View 14 Replies View Related

How To Pwd Protect Directories Without Cpanel

Jul 28, 2009

how to pwd protect directories with when using no control panel, I am planning to change the login details of the protected directories every few days as well as its top secret data, so I would like to know how to protect directories with pwd, I know how to do using control panel such as cPanel r Plesk but I am having no control panel at this interface

I intend to share the files under this protected directories only to my team, so plz help me with codes if there are any

its cent 0s5, apache handler

View 4 Replies View Related

FTP Service .. Times Out When Trying To Get Directories

Nov 9, 2009

For some reasons I cant access any of my accounts on my dedicated server via FTP. It simply times out when it tried to display the directories.

Heres a log from FileZila...

Code:
Status:Resolving address of testdomain.com
Status:Connecting to 64.237.58.43:21...
Status:Connection established, waiting for welcome message...
Response:220---------- Welcome to Pure-FTPd [TLS] ----------
Response:220-You are user number 3 of 50 allowed.
Response:220-Local time is now 19:39. Server port: 21.
Response:220-This is a private system - No anonymous login
Response:220-IPv6 connections are also welcome on this server.
Response:220 You will be disconnected after 15 minutes of inactivity.
Command:USER testaccount
Response:331 User testaccount OK. Password required
Command:PASS ********
Response:230-User testaccount has group access to: testaccount
Response:230 OK. Current restricted directory is /
Command:SYST
Response:215 UNIX Type: L8
Command:FEAT
Response:211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: ESTP
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTA
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response:211 End.
Status:Connected
Status:Retrieving directory listing...
Command:PWD
Response:257 "/" is your current location
Command:TYPE I
Response:200 TYPE is now 8-bit binary
Command:PASV
Response:227 Entering Passive Mode (64,237,58,43,145,153)
Command:MLSD
Response:150 Accepted data connection
Response:226-ASCII
Response:226-Options: -a -l
Response:226 18 matches total
Error:Connection timed out
Error:Failed to retrieve directory listing

I have restarted the FTP service serveral times but still It doesnt loads.

View 7 Replies View Related

Listing Directories In Apache

Oct 15, 2007

I have a website and i am trying to have a specific folder be able to list if u go to [url]

Anyone know how i can do this?

I thought it was something to do with the .htaccess but i cant seem to find anything for it.

View 6 Replies View Related

Mod_rewrite And Archiving Directories -- SE Issues

Apr 27, 2007

I have many directories from years ago on a fileserver. Many of them are indexed on Google. I have five webservers reading from one fileserver for the data. I'd like to keep copies of the most recent data on the webservers and through mod_rewrite tell it to use local copies instead of reading through the fileserver. I would like to move most of my older directories into an "archived" directory.

If I move most of my older directories into an archived directory, the Google listings will then 404. I could put a 404 doc up redirecting to the index page, but Google will drop the link, which I would like to avoid.

I could add a new RewriteCond / RewriteRule (below) for each new directory. But, it would need to be added in the httpd.conf file for each of the webservers and restarted. With the number of new directories I add, this would be infeasible.

Does anyone know of a way to accomplish what I am trying to do? I do not need the older directories in the "archived" directory to be accessible or rewritten, I just don't want to lose the search engine listings from them. And, I want to reduce the strain on the fileserver for these files.

I also don't know of a way to say: rewrite everything locally unless it is in the /dir1/archived directory and if there is a 404, the directory probably existed at some point, redirect that to the index and give a 200 status code.

Does anyone have any suggestions? I tried mod_cache but it doesn't seem all that speedy.

RewriteEngine on
RewriteCond %{REQUEST_URI} ^/dir1/dir2
RewriteRule ^/dir1/dir2/(.*)$ /path/to/dir1-localcache/dir2/$1

View 0 Replies View Related

Hide Files/directories On Apache

Jan 20, 2008

how can i hide all files and directories in public_html so when using apps suck Flash Get Site Explorere and similar software it will not show any file or directories in public_html.

View 5 Replies View Related

Find All Directories With 0777 Permission

Jun 14, 2009

due to a major bug found in some software installed on our server I would like to scan for all directories set with 0777 permissions. Is there a bash script or command I can run to get a list or possibly even chmod the directories to something else?

View 4 Replies View Related

Win Xp Prof Sharing Directories On Server In LAN

Jul 28, 2009

SHARING DIRECTORY IN THE NETWORK.

I have got server, on which there is Windows XP Professional (I know it is not optimal choice), Apache, PHP, MySQL and so on.

What I want to do is to enable access to the disc on the server so that people can upload and download files and directories from the server. I know it is not a safe thing to share the folder on the network. But I don't have to enable access to the whole disc, I can do it only with one given directory.

I shared it in this way:
Name_of_directory -> RMB (right mouse button) -> Sharing and Security -> Sharing -> Network sharing and security: [X] Share this folder on the network, Share name: [Name_of_directory], [X] Allow network users to change my files.

The other thing was to change name of the server:
My Computer -> RMB -> Properties -> General -> I changed name to "hpserwer".

I enter "Start -> Search" on my laptop (not on remote desktop but on my laptop when I am connected to local network of the company). I choose "Find other elements -> Computers" and write "hpserwer". The result is "no founds". What should I do?

View 0 Replies View Related

Browsing Directories And Files Behind A Website

Jan 25, 2008

is it possible to browse all the files and directories on a website even if it has a index page? If so how do you do that?

View 4 Replies View Related

Changing How Server Directories Work

Aug 12, 2007

is there a way to change your server so that if you're trying to link to site.com/a/page.html through a link on site.com/b/page.html you can simply put /a/page.html instead of having to put ../a/page.html? I've noticed that some sites don't use the .. and was wondering how I could do the same.

View 1 Replies View Related

Tar Many Directories, In Pieces? I Have A Start, Can You Fill In?

Sep 12, 2007

I'm trying to tar a ton of directories and files, and breaking them up in an attempt to get around the too many arguments problem.

Here's what I tried...

tar -czf [s-z]* ../as-z.tgz

I thought that would tar all directories and files starting with s, and ending in z, placing the tar one directory up.

Instead, I received the following error:
--------
tar (child): s1111: Cannot open: Is a directory
tar (child): Error is not recoverable: exiting now
Broken pipe
--------

s1111 was the first direstory starting with s.

I've been fighting this issue all day long, and tried numerous other things that didn't work.

View 2 Replies View Related

Centos5 Cant Mkdir Numeric Directories

Dec 30, 2007

We have a weird issue on one of our centos 5 servers, running the 2.6.18-53.1.4.el5 kernel

for some reason we cant mkdir any directories that are numerically named

ie mkdir 5789 doesnt work

alpha and alpha numeric work fine... ie mkdir ab567a

Quote:

[root@]# mkdir 6
mkdir: cannot create directory `6': No such file or directory
[root@]# mkdir 6ab
[root@]#

Someone suggested the adore-ng rootkit was to blame but we have run ossec root check, rkhunter and chkrootkit and even run clamav over the drives and cant find anything nasty

View 0 Replies View Related

Pure-FTP Can't Find Home Directories

Jul 31, 2007

I had what I thought was a fairly smooth install via yum of Pure-FTP on a Fedora 7 SELinux server. I configured it to use it's own PureDB virtual user system, and I added a few users using # pure-pw useradd to test things out. However, upon successfully logging in...

[21:51:34] USER test1
[21:51:34] 331 User test1 OK. Password required
[21:51:34] PASS (hidden)
[21:51:34] Cannot login waiting to retry (30s)...
[21:51:34] Server closed connection...so, I check /var/log/messages to find...
Jul 31 21:50:25 homeserve pure-ftpd: (?@192.168.0.134) [INFO] New connection from 192.168.0.134
Jul 31 21:50:25 homeserve pure-ftpd: (?@192.168.0.134) [ERROR] Home directory not available - aborting

Clearly, something is awry. When I created the users, I explicitly specified their home directory using pure-pw's -d flag, and I can confirm that it was entered correctly by viewing the /etc/pure-ftpd/pureftpd.passwd. The directories, of course, do exist with the proper permissions and ownership.

View 8 Replies View Related

CPanel And Password Protected Directories

Dec 16, 2007

I was wondering if it would be advisable to use the Password Protected Directory option in cPanels to limit part of my website to no more than 1,000 paying customers (yearly subsciption). Can cPanels handle this? Would accessing .htaccess and .htpassword to authenticate be too slow? Would management become too much? Has anyone attempted this? Are there any good alternatives such as open source programs? I've looked and found a few that are expensive and do way more than what I need.

View 2 Replies View Related

Unix Command To Zip Multiple Directories

Apr 15, 2007

I have directory1, directory2, directory3 etc and each has directories inside them. Is it possible to zip them all (directory1, directory2, directory3 and their contents) into one .zip file? If so, what is it?

View 1 Replies View Related

How To Browse Directories In Linux Based Plesk

Feb 3, 2007

I have a small problem. I have a install directory on my website, who are only for me. I have a password protected directory, and thats no problem to create in Plesk on Linux.

But the main diffrent from Windows based Plesk, are that I can not create a directory there I can browse the files in my webreader.
In windows plesk they have a option called Web directory, but I have never seen thats option in Linux plesk.

Are there any easy way to password protect and allow directory browsing in Plesk for Linux? Or do anybody have a easy way to do that?

One option, is to access the directory thru FTP interface in Internet explorer (ftp://mysite/directory). But I want to access the site thru HTTP if possible.

View 3 Replies View Related







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