Domlog File And Rawlog Files Are Same

Jan 8, 2007

Does domlog file and raw access files are same? I mean do the contains same contents?

View 0 Replies


ADVERTISEMENT

Links Files In Linux (file.txt For File.php)

Jul 9, 2007

Today I found some cstomer on the servers make a link for named it file.txt and link it to other customer php file.

so that customer have the ability to show the other custoer file content when visiting the url because it is a text wile originally it is a php file.

the php file was a config file, so now he know the database password , and because he is in the same server he can use that databse.

the question , how to avoide this prolem in the future?

notes , the SuExec is rnning and the open_basedir protection is enabled, but the problem still exists.

View 12 Replies View Related

Prevent PHP Files Used For File Uploading

Jul 3, 2009

It appears that some people like to take advantage of those files for online web applications such as Wordpress which have php files with permissions set to 777. They use those as a means of creating an upload file. The upload files that they create then have access to the whole server somehow... Is there anyway of preventing this from happening?

View 8 Replies View Related

How To Chmod The Files And Subfolder + File.php To 755

Jun 25, 2007

i download a script .. when i unzip the script .. all the folder have chmod to 700 + 600

what command could let the folders and sub folders have chmod to 755 ( as root )

i command this

chmod 755 *

but the folders inside the folder didn't chmod to 755

there is alot folders thats why its hard to do it manually :p

View 7 Replies View Related

Use .htaccess File To Allow Access To Zip Files Only From My Script

Feb 18, 2007

I have download manager script that I use for my customers to download products right after the purchase.

Script generates download link that looks like this:

http://www.yourwebsite.com/download/...582921B&p=1840 (where 2YY6582921B is receipt number that is different with each purchase).

All products are placed in one folder. This folder can not be seen in above download url, but can be accessed thru browser and files can be downloaded that way without paying for them.

Can I use .htaccess and if yes how, to protect all product files the way that they can not be accessed directly by visiting url thru browser (in case somebody will find the correct url), they should be allowed for access only for my download manager script.

View 3 Replies View Related

SSH Or Program How To File Replace Lots Of Files

Jan 14, 2007

I have anywhere between 80,000 - 90,000 webpages that have a single code into this. Unfortunately at the time the web developer I used didn't use PHP includes. So each .html file has the code in it.

I want a way so I can do a single command either a program or an SSH command can find the syntax in the files and replace it will code I have. Its just a single line of code that is basically for an adsense code, so the pub-blahblahblah etc..

Does anyone know of a SSH command I can use, or a program that will find and replace without manually opening up each file? 80k - 90k of opening files then find/replace will take forever!

View 11 Replies View Related

WHM Not Listing Account, DNS Etc, Missing Files, File System

Jul 26, 2009

I recently had an issue where my box wasnt listing accounts (on logging into WHM for the first time it would, thereafter browsing different functions in WHM it would fail to list any accounts), would not list any zone items when editing DNS zones and in general was acting very strange.

I think the tech support chap narrowed it down to zero free inodes on the filesystem (i was even getting errors when editing files with 'vi'). This was increased for the VPS and all issues seemed to be resolved...

However named and httpd were not starting after reboots. Again on looking closely named and httpd were missing from /etc/init.d (on CentOS 5.3)! This is very strange and i certainly didnt modify those nor delete such critical files.

For a second opinion, is there any cPanel script that can be ran to fix the issues, i am concerned other things have been affected but havent manifested themselves yet (other files deleted etc). Does cPanel update script create the init.d files or is this done by the CentOS operating systems itself? Are these files modified during a cPanel update script?

These init.d files for named and httpd have been readded (copied across from another box) and it seems to be ok again, but ideas on howto proceed much appreciated, as i mentioned i dont want any nasty supprises!

View 2 Replies View Related

File Size (content Length) Not Showing When Downloading Files

Jun 30, 2009

When I download a file from my server, only specific extensions are working. This is really annoying since I want to be able to see how much time left to finish a download.

For example I uploaded a video with .vob extension
file.vob --> does not show filesize when downloading

If I rename the same file to different extension:
file.avi --> works fine shows filesize when downloading
file.mp3 --> works fine shows filesize when downloading
file.rar --> works fine shows filesize when downloading
file.mp4 --> does not show filesize when downloading
file.wmv --> does not show filesize when downloading

These are direct download links, not using any download scripts or anything. Why are some extensions displaying the filesize and some not displaying them? I am using Apache 2.x server.

View 2 Replies View Related

File/Command To Change Number Of Open Files In Linux

Aug 22, 2009

I can't seem to remember, but what's that command or file used in Linux so that you can view/adjust the number of open files and others in the system?

View 3 Replies View Related

What Type Of Server And Os, Etc For Just File Serving- Small Files Like Under 10kb

Sep 26, 2008

I have a website that just serves small files, under 10kb most of them. I just need a server that lets me ftp the file to it, set up subdomains and domains for one website. Don't need to manage mysql or anything. Not even php. Just serve files.

A good fast OS? Something like lighttpd? Ioono?

I'm currently doing 600gb of bandwidth per month. I'm expecting to do about 1000gb by the end of the year. Would a small server like a pentium 4 be able to handle just serving files?

View 14 Replies View Related

Simpleish PHP/flat Files - Create File, Edit, Save

Nov 24, 2007

Display some text in a web browser from a file called text.txt

text.txt will have many lines and some of them I do not want users to be able to modify and overwrite.

config_item_1=user can edit
config_item_2=user should see but not edit (could be on any line)
config_item_3=user can edit
config_item_4=user can edit

The user has made their changes in the web browser and clicks submit. I then need this info to be saved as the text.txt file however some checking needs to be done first. Anything matching config_item_2 should be removed. This could be on any line. Anything not matching should be permitted and added.

View 1 Replies View Related

Plesk 11.x / Windows :: Prevent Removing Files On File Manager

Jun 4, 2014

How Can I prevent users removing file web.config on FileManager?

I try set attribute read-only, but not effect.

View 4 Replies View Related

Plesk 11.x / Windows :: Playing Values INI File Located In C Program Files

Sep 24, 2014

we had a problem playing values my.ini file located in C: Program Files (x86) Parallels Plesk MySQL Data..not keeping a copy of the old configuration and that there is now not working properly. What is the configuration which is by default or tell me how I can generate it again?

View 2 Replies View Related

Plesk 12.x / Linux :: Deny User Upload File Via File Manager Or Hidden File Tab?

Feb 10, 2015

I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...

View 2 Replies View Related

1.com/file.php, 2.com/file.php Where File.php Is Hosted On Main.com/file.php

May 26, 2008

Say I have 2 websites and they all use file.php which is located on mainserver.com/file.php.

I want to use the file like this:
website1.com/file.php
website2.com/file.php

View 2 Replies View Related

Transferring 200 Files : Total Files Size Is 25 GB!

Jan 2, 2008

I couldn't keep my mouth shut (technically fingers). A customer wanted to upgrade servers and he needed a way to move the data across. Since I don't allow hard drives to be swapped, they have to do it manually all by themselves. I generally allow up-to 4 days for them to transfer data and make DNS changes, etc. But this time, I offered help! I agreed to move the data (darn me) and it just came out of me, involuntarily.

God knows what just happened... but in a positive way, customer is extremely happy!

So...

Both servers are on cPanel - with root access (duh)

200 odd files which total to 25 GB

1 database about 100 MB in size (no biggie)

I was planning on using one of my Windows 2003 servers (via remote desktop) to download the 25 GB and upload the 25 GB, but that sounds like a waste of resources and time.

View 8 Replies View Related

Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0

Mar 6, 2008

Rapidly growing error logs showing the same message

$ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0

root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*
root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*

Using cpanel 11 / centos 4

View 1 Replies View Related

How Can I Show Hidden File In Cpanel File Management Tool

Jun 16, 2008

i have a server with centos,

i need to edit the hidden file .htaccess from the file management tool of cpanel,

but the hidden files not shown,

ow can i modify the setting and let the files shown in the file management tool of cpanel?

View 6 Replies View Related

Plesk 12.x / Windows :: STOP Resetting File Permissions On DLL File?

Sep 17, 2014

How can we stop Plesk resetting the file permissions on a dll file that is found in

C:Program Files (x86)

??

Specifically,

we have a file, jmail.dll,

here

C:Program Files (x86)Dimacw3JMail

By default Plesk permissions are set to DENY for PSACLN.

But the JMail plugin cannot work with these permissions !

We change this to be ALLOW for READ & EXECUTE and DENY for WRITE.

And everything works fine.

But every time Plesk does an update it reverts it back !

This means that a number of our customers contact forms stop working !

View 12 Replies View Related

/usr/bin/gzip -p Correct Option To Unzip First File To Second File?

Nov 22, 2008

I'm trying to do this

/usr/bin/gzip -p /home/mysite/public_html/shop/feeds/myfile.xml.zip > /home/mysite/public_html/shop/feeds/myfile.xml

But it just tells me

/usr/bin/gzip: invalid option -- p
X-Powered-By: PHP/5.2.5
Content-type: text/html

How do I find the correct option to unzip first file to second file?

View 8 Replies View Related

Apache :: How To Discover Which Php File Allows Malicious File Upload

Oct 10, 2014

i manage linux apache webserver with a few wordpress blogs and from time to time i see someone inject a malicious .php file into wp-content/uploads/2014/10/ directory.

i think its some bad plugin or theme, but these is more blogs, i ugrade, update, WP, but

how can i setup some monitor to tell me which php file (or even line in php file) injected that malicious .php ? I have linux root access so i can setup anything 

View 3 Replies View Related

How Can I Convert A PDF File To A WORD Doc. File

Oct 3, 2009

have some E_Books in PDF I want to convert them to word document format

Also need a share hosting for this

View 14 Replies View Related

Put A .FLV Format File On A Web Page With Out Using The .swf File?

Nov 26, 2008

how to put a .FLV format file on a web page with out using the .swf file?

View 4 Replies View Related

Gap In Log Files

Dec 21, 2008

i had a problem with one of my servers

due to changes in the firewall couldn't i login anymore.

Someone had to go over and undo that modification.

Now i am checking the log files like secure and
messages logs, but logs of the day he logged in are simply not
there (along with some days more).

View 3 Replies View Related

Can Not See The Files In FTP

Jul 20, 2008

When I upload a file in FTP I can not see the file, When I upload the file again asked me to file any replaced it exists, When using Cpanel can upload any file, And working well.

When watching the size of folders I find little in the FTP but sized Cpanel see him very different.

I have done this:

1-Restart FTP Server.

2-permit folders to 644.

3-permit files to 744.

View 2 Replies View Related

See Os Files

Jun 3, 2007

Is there a way to see your os files in ftp software like cute ftp n edit them?

View 3 Replies View Related

Log Files

Mar 26, 2007

i received this message for my host

"The proxy sites hosted on your server are being used to send spam comments on blogs"

How can i view the log files in order to find that info and block the domains or IP?

I am on Centos.

View 2 Replies View Related

Php Files Pop-up Sometimes

Jan 28, 2007

In the last couple of days my server/website has been acting a little strange and I can't recall doing anything to it in this time.

1) Now and again a normal PHP page will pop-up in the Firefox download manager. Usually the page is simply compiled and shown to the browser.

2) Images that really are present on the server sometimes randomly don't show in IE.

PHP 5.1.4
MYSQL 5.0.27
Apache 1.3.37
APC 3.0.12p2 (latest)

View 3 Replies View Related

Nobody Files Always Appear On My /tmp, How To Trace Where They From?

Jul 26, 2006

I found that recently a lot of nobody files appear in my /tmp.

I delete and delete.. by still same. I don't know how to trace where they from. I suspect is from my hosting users, but I don't know how to check and trace. Anybody can give me some guide?

View 5 Replies View Related







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