I have what I believe is a fairly standard fastcgi/php5-fpm setup using Unix socks, and the configuration file for my website (excuse the find&replace) is the following:
server {
listen 80;
server_name example.com www.example.com;
access_log /srv/vhost/sites/example/logs/access.log;
error_log /srv/vhost/sites/example/logs/error.
I have a list of files all over a file system e.g.
Code:
/home/1/foo/bar.tx
/www/sites/moose/foo.txt
I'm looking for strings in these files and want to replace each occurrence with a replacement string, e.g.
if I find: '#@!^\&@ in any of the files I want to replace it with: 655#@11, etc.
There are around 120 substitutions and around 4,600 files.
One issue: these strings are passwords
Hi friends,
excuse my silly question, but how is it possible trying to find the files on gnome3?
If i insert the file name on the gnome3 search field, i obtain only few but very very few elements.
Should I maybe run an application to index files?
I'm using reiserfs on "Home";
many thanks
I can browse the company intranet site using the following URL.
http://192.168.1.2/admin/index.php
How do I find the full path of the file "index.php"?
I tried...
locate admin/index.php
and it gave me a lot of results from different directories. What I need to do is to make some changes to index.php file.
I searched for httpd.conf and again I found several files in different locations.
You have to be root to overwrite existing files that are owned by root and without non-root write access. Use a command prompt and use "su -" to become root then edit the file with vi. Wh... [by TrevorH]
Hello,
Greetings!
please help me produce the following solution.
I'd like to have a shared 404 page to use across my virtual hosts.
Possible Duplicate:
How do I deal with a compromised server?
You wake up in the morning and check on your website.
The index was hacked!
You immediately open your ftp client and replace the index back to the original.
The hacker leaves a footprint to basque in the glory of his hack- his twitter handle.
Hi
I was backing up my home dir when I found many ".jpg.pnj" and ".zip.id3" files. The ".pnj" files seem to be thunbnails for the ".jpg" files I have.