Php.ini In A Specific Directory
May 23, 2007php runs as cgi on my server, this, I cannot override settings with htaccess.
If I place a php.ini in a specific directory, will this directory' s php settings be override by this php.ini?
php runs as cgi on my server, this, I cannot override settings with htaccess.
If I place a php.ini in a specific directory, will this directory' s php settings be override by this php.ini?
Want to activate webDAV in a specific domain with a v_host conf file, but do not have a /conf directory in the domain path. How can I manage the this?
View 2 Replies View RelatedI have question: How to redirect specific useragent on specific URLs to specific URLs in .htaccess [Question]
E.g.:
I want to redirect 301 with conditional:
Code:
useragent: Firefox
from my url1: domain[dot]com/old-url1/
from my url2: domain[dot]com/old-url2/
to
Code:
to new url1: in my url1: domain[dot]com/new-url1/
to new url2: in my url1: domain[dot]com/new-url2/
I create this in my .htaccess but not work
Code:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} googlebot [NC]
RewriteRule ^/?this-is-url/?$ domain[dot]com [L,R,NC]
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.
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.
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.
I'm trying to build a distributed cluster of virtual hosts spanning the U.S.
My requirements for all of them are:
1. Very well connected - Tier 1
2. Able to run Gentoo Linux
3. OpenVZ/Virtuozzo/UML
I've got the southern half of the country covered. Can anyone refer me to such a provider in the northeast, anywhere above Washington; and another in the north-central cornfield states?
Is is possible to let the IP to explain to specific dir via SSH?
I am using an VPS
Is there any way to block a particular ISP? Have a visitor that changes IP hourly, but the IP always resolves back to a hostname like dsl.yuns.sksk.uk .
I have CSF installed. Any way to block all visitors from dsl.yuns.sksk.uk?
I'd like to know how I can use DNS to do something like make a CNAME record that points the same address to different addresses based on the port used.
mail.example.org on port 80 points to ghs.google.com
mail.example.org on port 995 points to pop.gmail.com
mail.example.org on port 587 poitns to smtp.gmail.com
I own a Limited company in the UK and we are looking for a Dedicated server to put our shoutcast services on.
So far I have the following deal:
Quad Core Q6600 (4x 2.4Ghz)
2GB RAM
2x 250GB SATAII HDDs in RAID
Full Root Access
5TB Bandwidth per month
100Mbit network port (fully burstable)
£99.99 + VAT
Free setup
1 Month contract (30 Days Notice for Cancelation)
I am looking for a better deal than this with a reliable and well known supplier. We are a expanding company offering not only shoutcast but web hosting, web design and broadband.
The canditate host needs to be reliable and well known who can support us with no/little fees if we go over our alocated ammount.
If the host lives up to expectations there are future company prospects and business. We are looking for a 1 month contract as we have with long term intentions in mind should all be well with the host.
I have a customer that uses a blackberry and of course, he wants his email to be delivered in the BB, so is there any previous config or a specific port that needs to be opened, or anything else on the server?...please i have no idea about that x_X
i have a WHM/Cpanel on a Centos 5.1 and i work with exim
I'm currently hosted on a friends VPS, and he has been good enough to give me his root access account details so I can mess with things if I need to. Good thing he has, too... Because I'm about to need to really mess with some things.
I've hit a brick wall, however.
The VPS is currently running php 4.3, but the CMS software that I am going to use to run my site requires PHP 5. Now, I don't want to arbitrarily update to php5 across the whole VPS, cause I dont know if thats going to knock out scripts on other vhosts. I read about the "run php5 as cgi" thing, but that doesnt really work for me, as the cms I am using has some quite in-depth url rewriting going on, and I dont want to have to make all of the php files for it end with .php5, in case that screws something up.
So, in my research, I came accross this:
wiki.apache.org/httpd/PHP4AndPHP5
The article on the apache wiki refers to a way of setting up a private server, or a VPS in this case, so that an individual vhost will use php5 as opposed to the default php4. "Great", I think... But then after loggin in to the shell and downloading the php-5.2.5 binary, I realised I dont have the first clue how I can install this, without it conflicting with the current PHP4 install, and so that it pick up on things like mySQL, and all the other libraries (gd, libxslt etc).
So, I guess my question is, does anyone know how I can accomplish this? I'm sorry if this isnt the right forum, I put it in the place that made most sense to me... Any help would be gratefully received, as I'm completely dumbfounded right now!
I have a few website's and a whm account.
I also have a few things at home that I would like to access every now and then.
I was wondering if it would be possible to setup a subdomain to point at my ip adress at home?
like if I give the home.domain.com , all traffic would be directed to my home, but domain.com would remain the hosted website?
If it is possible, how do I do it?
I would like to limit a port to only listens to requests from a specific IP. How can I do that?
It's a red hat system, with apf installed.
In one folder, I have thousand of files, and I want to delete 100 specific files. Saying specific files, I mean all of them has a keyword. So, I can find out all of them by using
grep "keyword" *
but dont know how to delete all of them. Not deleting one by one.
I had a few specific questions about ADULT hosting. I've been refining an idea I had for an adult website after getting some good feedback from this site, but I had a few specific questions I still need addressed. If you think this forum is the wrong place to be asking about this, do you happen to know of any other forums that specialize in discussing adult web hosting?
My general plan is to set up a video-based adult site that charges people money (a monthly fee) to see the premium content. I have a general idea about my start-up investments, but not necessary how much each would cost, and I'm trying to put together a budget. If anyone could help me fill in some of these blanks I would really appreciate it!!
I'll need a lawyer to set up site disclaimers, contracts, etc. - I assume this will be a few hundred dollars - does this sound correct?
I need to build the site- this is where I'm not sure about costs. The general specifications are like any other adult website - users pay to register - so I would go with one of the established companies that deals with secure online credit card transactions - any ideas which ones are good? How much do they normally take?
Users then can watch the videos, rate and give feedback. Since I don't really know any programming besides HTML, I'm assuming I need to hire someone to build the site and make sure it is secure. I'm also assuming this will be the most expensive part of the investment. Can someone give me some estimates about this? Are there general templates online that I can use that will save money? Is guru.com a trusted place to hire programmers? Is this something I could do myself without spending years learning a new programming language? How DO I make the site secure, and how can I keep people from stealing my premium content and posting it on other sites? I'm obviously trying to make this as cheap as possible without sacrificing all the quality - but unfortunately I have thousands to invest and not tens of thousands (i don't know if this will be a problem or not).
Also - hosting. I was told that a popular adult video site will cost a fortune in bandwidth. If I'm charging a monthly membership fee I'm hoping that can offset the costs. Can someone recommend good, scalable adult video hosting - and give me a general idea about what kind of server I need, how much bandwidth etc. I figure since this is membership driven I can start small and then increase bandwidth depending on how many members join, so I'm always making a profit. Does that sound realistic?
Finally, can adult pay sites still make money today? Not just a couple bucks here and there, but enough so I can eventually quit my day job?
The wonderful feedback I got here before helped me to reshape my ideas, and now I'd like to begin the next steps. Thank you all very much again for ANY help you can give me - I sincerely appreciate all the generous, knowledgeable people that make this forum a pleasure to visit!
Is it possible to create an email forwarder that will forward to a specific folder?
For instance, an email to "anemail@domain.com" will forward to a folder 'fold1' of "realemail@domain.com".
Alternatively, is it possible to forward but with adding additional headers, such that I can then create a filter to place emails with that header in a specific mail folder?
I may have this wrong, but I think it's possible. I have a friend who wants to run a process on one of my servers, now I don't particularly 'care' about this server, it's just used for a couple of unimportant things so I'm okay with him running it, but I don't want the hassle of sorting out things if he decides to delete everything, so I'm hoping it's possible to limit his directory.
For example, I have the folder "people" in the top most directory, inside that I have "arthur", I want to limit the ssh user "arthur" to the folder "arthur", I don't want him to be able to cd ../../ and delete stuff, is this possible?
I am getting a lot of GET requests from different IPs to 4 nonexistent PHP files on my server. Is there any way to block the requests to avoid the resources use of apache that these requests are generating?
I have installed mod_security but Im not sure about how the block rule should be.
The requests are going to images/log.php, images/log2.php, images/log3.php and images/logi.php of one of the sites hosted on the server, is there any way to block there requests for a specific domain or path?
Is it possible to get a list of domains that are using a specific pair of nameservers?
We've purchased several hosting companies over the years, and would like to consolidate the nameservers we are using and need to manage.
Thus.. we need to figure out which customers are using which nameservers.
So getting a list of which domains are using the nameservers we don't want to use any more would be a nice easy way. Then we can contact those specific customers only.
does anyone of you know a script that bans
a IP that is trying to access a specific file I can manually define?
How can i restrict my user that always taking high CPU usages..i have linux server with shared hosting and most of the time i suffer that some user takes 10% of our server CPU so that i want to restrict those take high cpu usages..
View 6 Replies View RelatedUseful unix-command trick to quickly remove i.e. Thumbs.db files, WS_FTP.LOG files or *.fla files, recursively through directories.
It could be a real pain on a huge directory tree ;-)
Removing all *.fla files from /home/user/ and subdirectories...
Code:
# find /home/user/ -name *.fla -ok rm {} ;
Removing all WS_FTP.LOG files from /home/user and subdirectories...
Code:
# find /home/user -name WS_FTP.LOG -ok rm {} ;
Removing all Thumbs.db files from /home/user and subdirectories...
Code:
find /home/user -name Thumbs.db -ok rm -f {} ;
I am trying to develop a new way to secure my server. But I couldn't find any way i can search for a specific word on the whole mysql server ( All databases )..
View 2 Replies View RelatedI'm currently running Pootle on www.example.com:8000 and I'd like to be able to access it from pootle.example.com but Pootle has its own python server. I use Apache. How could I do that?
View 4 Replies View RelatedI know about the general log but want to just log queries of a specific user. Our database does 400 queries/s on a slow day, so I think it would be a pain to grep though a huge log like that. And, im not sure if it would cause any preformance issues.
View 0 Replies View Related