Make Php Nonexecutable In A Directory

Sep 7, 2007

I have an upload feature in my site.. On upload i check the file extention of the uploaded file.. But recently a person uploaded a file like xx.php.jar and as the extention is jar it got uploaded.. But when we go to the file through url it gets executed as php... So any solution how can i stop execution of php files in my upload directory

View 4 Replies


ADVERTISEMENT

Cannot Make Directory Via SSH

Aug 13, 2008

I'm trying to create a directory, "hello", so I log in via SSH and CD to /proc, as this is where I want the directory to be. I type, "mkdir hello" and I get the following;

mkdir: cannot create directory `hello': No such file or directory

I've searched around for the error, and I've found two mentioned problems;

Persmissions
Parent directory doesn't exist.

However, the parent directory; /proc does exist and it has the permissions 7777.

View 8 Replies View Related

Apache :: Make Subdomain Appear As Directory?

Oct 10, 2013

I have an ecommerce store. dns at godaddy. A record www points to the 3dr party hosted shopping cart solution on ip a.a.a.a. I also have a blog. A record blog subdomain points to another server b on ip b.b.b.b hosted away from the shopping cart server a completely.

So www goes one place and blog goes to another.The problem is I need to somehow make the blog appear within the main site as URL...blog instead of as a subdomain blog.domain.com.

I cannot access or modify the hosted shopping cart server in any way. I cannot load wordpress there, that is why it is on a completely separate server.I've been told this is perhaps possible with a reverse proxy configuraton on server b where ip b.b.b.b is.So that even though blog. points to server b it can appear that the url is www.mydomain.com/blog and the blog pages off that directory as well.Can this be done via reverse proxy?

View 8 Replies View Related

Proftpd Config - How To Make Directory Have Read/write Access

May 22, 2008

Followed the guide over at [url]to get proftpd setup.

It only lists ways to create a single upload directory and a single download directory.

Tried all possible ways to get a directory creating allowing read/write but so far unsuccessful.

how this can be acheived?

Here is my current config.

#start of config

<Directory /home/FTP-shared>
Umask 022 022
AllowOverwrite off
<Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD>
DenyAll
</Limit>
</Directory>

<Directory /home/FTP-shared/download/*>
Umask 022 022
AllowOverwrite off
<Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD>
DenyAll
</Limit>
</Directory>

<Directory> /home/FTP-shared/upload/>
Umask 022 022
AllowOverwrite on
<Limit READ RMD DELE>
DenyAll
</Limit>

<Limit STOR CWD MKD>
AllowAll
</Limit>
</Directory>

#end of config

/home/FTP-shared/read-write is the folder I want to be able to read and write data to.

View 0 Replies View Related

CPanel Directory / Sub-Directory Protection (Linux Shared Hosting)

May 31, 2007

I have a situation like this:

There is a directory say, "Master" and inside, "Master" there is sub-directory, "Slave". A user who has access to, "Master" should be able to access, "Slave" automatically. However, a user who has access to, "Slave" should not have access to, "Master". Inside cPanel this type of protection is not possible.

View 3 Replies View Related

Httpd Directory Alias (public_html) Virtual Directory

Dec 11, 2008

How do I direct my httpd file to point to:

home/USER/public_html
instead of:
C:Users estetc...

I want to do this to make my test server just like the remote server.

View 5 Replies View Related

Move The Entire Contents Of A Directory Tree To Another Directory

Sep 18, 2008

I want to move the entire contents of a directory tree to another directory.

So for example we may have a directory with 15 directories inside, each directory contains files itself. I want to copy all the files from the directory tree into another directory located somewhere else one the file system. I want only the "files" to end up in the other directory and not the file structure too.

Im running CENTOS latest version.

View 4 Replies View Related

Why Make The Switch

Apr 15, 2009

What is the purpose of making the switch. If i were to get "unlimited/umetered" shared hosting with cpanel, how is that different then getting a vps with cpanel?

Other then getting large amounts of traffic, what is the purpose?

View 4 Replies View Related

How To Make A Backup

Jan 13, 2008

My site has total 5GB data + MySQL database.

I tried make a fullbackup in cPanel but failed.

Then i tried create a zip file from folder but it's don't allow over 500MB a file.

How to make a backup now?

View 14 Replies View Related

How Much It Take To Make A Datacenter

Mar 15, 2008

I was just wondering and searching for it but i couldnt find the estimated answer, anyone who have made one or operate one can answer me.

View 14 Replies View Related

How To Make Own Server

Apr 23, 2008

i want to make one web site i want to show there some movies same like youtube but my video will on media player .i want to make own server for hosting and i need more than 1tb storage .i don,t know which thing i need for own server .i just found there these kind of things Netgear ReadyNAS Duo RND2150 500GB i don,t know it will work for me or not

View 1 Replies View Related

Unable To Make Changes To Php.ini

Oct 9, 2007

i'm trying to configure PHP, as I really need to turn magic quotes off and raise the memory limit. i don't want to use .htaccess - too many sites

I got plesk 8.2.1, php5.1

well, to make it short, I ran 'phpinfo()' to see where php.ini was: etc/php.ini

I change that, restart httpd, nothing happens. restart the server, nothing still. my changes are not applied when I run 'phpinfo()' again.

i try 'locate php.ini' from the terminal, there are a few!

/usr/local/psa/admin/conf/php.ini
/usr/local/psa/admin/conf/php.ini.def
/usr/local/sitebuilder/php.ini
/etc/php.ini
/etc/php.ini.
/etc/php.ini.saved_by_psa
/etc/php.ini.rpmsave

... plus some in the opt folder (that should be just the cache, uh?)

the problem is that I tried to open all of them, to see where the hell php was getting the settings from, but none of them seem to reflect php's settings.

meaning, I don't know what file I can use to configure PHP.

all of them, for instance, say 'memory_limit: 32M', but php is set at 8M, and phpinfo() tells me memory_limit 8M.

any idea why this might be happening?

does Plesk have some tool to configure PHP that makes PHP ignore my changes?

View 21 Replies View Related

How Can I Make Sure If My Server Is Hacked?

Jan 20, 2008

the data center tell me we use a lot of bandwidth,

and i check from the mrtg they offer to check,it reach about 80M,

my server really used a lot of bandwidth,

but i login whm to check the bandwidth of accounts,

and it looks likely my customers did not use a lot of bandwidth,

i worry if my server is hacked to attack others or other things,

how can i check this?

View 3 Replies View Related

Using VPS's To Make Shell Reseller?

Apr 9, 2008

Is it possible to purchase a VPS, add MANY ips, to reverse DNS, and a cpanel, to make a shell reseller effect? Using the ips as vhosts, cpanel to setup other shell accounts etc?

Also, does anyone know of a provider who sells many cheap IPs with VPS's?

View 6 Replies View Related

How Can I Make Ip Into Working Socks

Aug 28, 2009

i brought server,i have ipz, can any1 help me how to make these ipz as working socks like
ip: port form,

View 6 Replies View Related

What Will Make You Switch Hosts

Apr 13, 2009

If your happy with your current hosting provider why change? Maybe you have found a better deal, but is it really worth it to switch to save a few bucks if your happy, I would say no.

What if you have noticed major changes in loading time?

What if there has been downtime?

What if they dont offer the support you need when you need it.

If a hosts changes prices on you?

View 14 Replies View Related

Make Custom Backup Under WHM

Nov 5, 2009

I would like set backup for my vps in a specific way but it seem is not possible..

I would like set weekly backup for the whole vps accounts. This can be set easily by choosing "weekly" and by ticking Retention option Monthly..Like that daily and monthly backup will be not performed and only weekly backup will be done...well. Now I would like allow for some specific account more interval like also daily or also monthly or also daily and monthly...

This seem to be not possible under WHM....I see only the option to choose some specific account to make or not backups...but not to choose more interval..

So I must probably do that manually and set a cron job for the specific account I need but not see exactly how I must do..In fact am not very confident with SSH and I don't know exactly what code to type...

View 1 Replies View Related

Can I Make A Subdomain To Open With Www

May 26, 2009

can i make my sub domain name to open with www..

ex: www.hosting.domain name.com

View 6 Replies View Related

How Do I Make Sure Everything I Got Is Actually Included On Server

May 1, 2009

I've recently ordered two new servers with Windows OS, and am wondering how I go about making sure the hard drives I ordered are the ones actually installed, and the RAM i ordered is the ram actually installed.

I know the amount of ram and amount of diskspace is correct by Properties and My Computer but not sure how to figure out the others.

View 5 Replies View Related

How Can I Make My Subdomain Secure

Dec 18, 2008

how can I make my subdomain secure?

I am using Ubuntu 8.10 with apache2 and I want to know how to make my subdomain secure? do I use virtual hosting or what?

View 3 Replies View Related

IIS - Make PHP Run With .html Extension

Dec 12, 2008

I know nothing about IIS as I ormally use Linux / Apache so I'm not sure this is possible.

I have built a site in PHP that the client now wants to move over to a IIS-hosted server. Although it's all in PHP because it was a re-build of an old static site I used ModRewrite to make all the page .html.

I know IIS doesn't have a URL rewrite feature as such. What I was wondering is, is it possible to configure IIS so that a PHP page can have a .html extension?

View 6 Replies View Related

Medialayer Says They Can't Make The Change

Oct 9, 2008

I've been hosting with medialayer for a while now, and to date have had quite few problems with their hosting/uptime/etc.

I host my main website's support site with them, and have recently run into a few issues... issues which I'm not sure how to resolve.

The thing is, the helpdesk developer was recently looking into our setup, and found there are some issues. He has requested that the open_basedir be modified to a particular value for our vhost (which to my knowledge, is not a security threat, etc.).

Medialayer says they can't make the change, because of how directadmin works, it won't be permanent. At the same time, the developer says it is possible to do this and make it a permanent change through this
file /usr/local/directadmin/data/templates/virtual_host.conf ...

Now I am unsure as how to resolve the issue because I need this change made, but am not sure it is possible, or who is wrong and who is right. I'm not trying to point fingers, but I would really like to know what the best thing to do in this situation is.

View 5 Replies View Related

How Make Dns Resolve Fast

Jun 2, 2008

how do i speed up dns resolving my website. It is taking much time about 5-8 seconds. My site is phpfavorites.com

usually when i type youtube.com and like other websites, those sites load much faster than anything. Is this dns or any other issue>

View 9 Replies View Related

Does Virtuozzo Make A Difference?

Aug 29, 2008

As a VPS customer, are you more likely to spend slightly more on a provider providing the same specs but Virtuozzo instead of HyperVM? Why or why not? I'd love to hear some people's opinions on the matter, as I know people are very divided as to whether Virtuozzo is better than HyperVM or not.

View 10 Replies View Related

FreeBSD Make.conf

Sep 19, 2008

I was playing with a backup machine I have today. It's been running FreeBSD 6.3 a while now. I just realised today that CPUTYPE in make.conf was set wrong. When I set it to what it should be, according to the list of valid values, I got odd errors during world and kernel rebuilds, along with some from some ports. I googled it and found many people do not suggest setting that directive in make.conf. May I ask if anybody has experience with this, and what impact it would have on my box should I remove the directive and recompile?

View 0 Replies View Related

How To Make A Comparison Sheet

Jul 5, 2008

What is the best software to use to make a page to compare hosting packages?

View 7 Replies View Related

Make My Computer A Server

Jun 14, 2008

i heard from a friend that i can make my computer a server, is this true? how can this happen & is it safe, cheap?

View 9 Replies View Related

Make Centos Image For Xen

Jul 6, 2008

I have been trying to get it to work, but cant get it going...

how do I make centos run on xen?

View 8 Replies View Related

Make My Own Web Hosting Company

Mar 17, 2008

I am very interested in web hosting and domain names and i would like to run my own small business web hosting company. I don't have large knowledge in this domain, but i found some reseller company e.g Hostgator. The process is buying some spaces and i resell them.

View 23 Replies View Related

How I Can Make Master Reseller On VpS

Nov 29, 2008

how i can make master reseller on my vps

View 9 Replies View Related







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