Different php.ini for each website

Hello!
I have several websites on my Mac Mini server. The uploadmaxfilesize is set to 5MB (global) in PHP.
How can I deny uploading for some (ONLY 1 or 2) websites or expand this value to (for example) 10MB?
Thank You!

If the .htaccess file in the user's site folder (next to index.html) it can be modified by user if user connect via (for example) FTP. Am I right?
Like most things - maybe.
You should be able to create a .htaccess file and give it read permission but no write permission (e.g. r--r--r--, owned by _www). This will allow Apache to read it and process its contents, but prevent the user from writing it.
However, the mere act of enabling .htaccess overrides opens the possibility of problems elsewhere - unless you're careful, for example, the user could create a .htaccess in a subdirectory of the site and make other changes there, possibly without you noticing.
I wouldn't like to allow this, so is the solution for this problem the *.conf file?
That would be the other (better?) solution.
If the site's folder name is "testpage" I have to use .conf filename like this: testpage.conf or how can I use conf?
Assuming you used Server Admin to create your sites, each site has its own .conf file in /etc/apache2/sites/
Just locate the .conf file that's appropriate for each site and add the directives as needed. A restart of Apache will be needed to make the changes live.

Similar Messages

  • Do I need a different apple id for each device? I have two iPads and an iPod but can only purchase things on the first one. When I go to verify the questions they say they are wrong.

    Do I need a different apple ID for each device I have? I have two iPads and an iPod but I can only make purchases with the first one I purchased. It tells me the security questions are wrong but I know they are not because I wrote them down. I have also reset them and my password once. Please help if you can

    You can not login into iTunes or the App Store using VPP credentials. You must purchase all apps/book/etc.  from the VPP website. Then you can redeem the codes thru itunes/app store or import the codes thru apple configurator. Here is the url for the VPP website: https://volume.itunes.apple.com/WebObjects/MZFinance.woa/wa/login?cc=us
    (It will not affect any of the apps you already have but the id can only be used for VPP.)
    Cheers,    
             Alec

  • How do I set up different icloud accounts for each family member and make them able to access them on our common mac using their user name on the mac.  I am doing this to make sure kids don't get access to our messages.

    We have several apple products in the family.  I would like to set up different icloud accounts for each memeber.  I lately noticed having activated different devices with same icloud account that each device can access everyones messages by going in their settings and clicking which number or email they want to use to see messages.  Let me make sure I am understood, on my sons ipod in his messages settings he can switch to my cell number and see all my messages.  Re setting the devices isn't my great issue but can i set up each kids user account on my mac to their individual icloud accounts?
    Thanks!

    Any devices connected to the same icloud account can sync all the data on that account.  For this reason an icloud account is really for a single user.
    On a mac, if each user has their own account, then the itunes for that mac account should be set up to connect to that user's icloud account (System preferences>icloud).

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • HT5622 How do I change the Apple id against a certain telephone number?  I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?

    How do I change the Apple id against a certain telephone number?  I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?

    Create a new Apple ID for the second phone. If you are setting the phones up as new phone enter the ID you want to use on each phone.
    If both phones are already signed in to one Apple ID then use the settings app to change Apple IDs on one phone.
    Settings > iTunes and App Store > tap on the Apple ID > sign out > sign in with alternate Apple ID.
    Note that if you have downloaded apps with the original Apple ID on the phone with the new Apple ID, those apps will still be associated with the old Apple ID and will require the old ID and password in order to update them.

  • HT204053 Do I need a different Apple ID for each of my Apple computers?

    Do I need a different Apple ID for each of my Apple computers?

    Welcome to the Apple Support Communities
    If all of those Macs are for your use, you have to use the same Apple ID on all of them, so you will be able to use all the applications and songs purchased with your Apple ID on them, apart from your iCloud information, in case you have an iCloud account

  • Can someone upload a photo of their itunes tv shows with multiple seasons? I am wondering if you get different artwork background for each season of that show.

    HI,
    I have upgraded to iTunes 11. Its good. Few bugs but good. Anyway, i have quite a few tv shows with multiple seasons. YOu know how album artwork in music has a theme for each album when you open it.... Is it the same for the differnt seasons in a show? I know a show has a theme but like there is different cover art for each season but only the first season cover art themes for the entire show. Is that how they all are or just mine. If so how do i fix it. Its not really a big deal but it is annoying me alot.
    Thanks

    Actually, for me, it displays the artwork for the second season of the show I have. This is because that season has the highest amount of high star-ratings for its episodes over the rest of the seasons. If you don't give ratings for your episodes, then it probably chose the first season by default. I think episode length also plays a factor, like it shows the artwork of the longest episode or something if star-ratings don't make a difference.

  • Open Item interest calculation with different exchange rate for each line

    Dear All
    We have a short term loan facility with our Bank. We take short term loan with bank on different terms and condition. Now user has requirement to have different interest rate for each open items depending on the posting date or any other condition. I think in SAP for one bank account only one rate is applicate for validity from date.
    Can someone share his/her experience if got the same requirement from user
    Thanks and Best Regards
    Farhan Qaiser

    Dear Ashwin,
    As of overdue days are concerned there is no standard functionality available whereas there is for amount.
    Better solution is that you get an ABAPer create your own functional module. That will help you in better way.

  • Allow a different input source for each document

    I just received my new MBP and am really happy about it. I'm a switcher so apologies in advance if this question is silly...
    I use both Swedish and English keyboard maps. I can switch between them using a shortcut which is fine. However, in the International settings I thought "Allow a different input source for each document" would mean that the input source I use for a specific application will be used as long as the application is running and I don't change it, no matter what source I use in other applications.
    For example: I have the English input source as default. Then I open text edit and change the source to Swedish and start typing. So far so good. I then change to another application...
    Ok, it seemed that I might be able to answer this myself... as I test I noticed the following:
    If I start typing using a source in an application THEN the source is retained. If I just switch to an application, change its source the source is NOT retained and will take the previous one.
    Now this is all and well as long as the application you are using actually presents you with a text area to write in. But there are many applications where this is not the case (where you open windows to type text). A really good example is an IM client. Lets say Skype for example (yes I know.. iChat). Until I actually start a chat there is no text input window (well there is one..) which means that it will pick up whatever source was used previously. If I keep all the chat windows open thats fine but as soon as I reopen a windows I might be forced to change the source again
    I hope I haven't overcomplicated my question which is simply what to expect when "Allow a different input source for each document" is used (I know it doesn't say "application" there and that might actually be a hint
    Many Thanks for any comments

    It's not a silly question, but I don't think there is an answer either, as it's not clear exactly what that setting is supposed to do, or if it actually does something consistently for various different kinds of apps.
    If you have not already done so, check the box for "show input menu in Finder" in system prefs/international/input menu, so you can see which layout is active at the top right of the Finder.

  • Are there different php functions for Oracle 8 and 9?

    Hi!
    Are there different php functions for Oracle 8 and 9?
    Thanks for your answer!

    You can use the oci8* functions for Oracle 8, 9 and 10.
    It is the most recent PHP interface to Oracle, and uses Oracle's most recent
    API.
    The name oci8 comes from the version number of Oracle - version 8 - when
    Oracle introduced a new C API. It succeeded the original OCI and got the
    common name OCI8. The original OCI now has the common name of OCI7.
    -- CJ

  • Can we create different reservation no for each auto PR created through PS.

    Hi Gurus
    With reference to above captioned subject, can we create different reservation no for each auto PR created through PS
    Thanks in advance
    Regards
    Abhijit Sen

    Hi,
    The reservation number will be same for all the material components in one network.
    so as long as there are "n" components in one networks then all the "'n" components will have the same reference number.
    If you need different reservation numbers then need to maintain those components in multiple networks.
    Hope its useful.
    Reward points if useful.
    Thanks..

  • Different Year Ends For Each Venture in JVA

    Hi Guys,
    Can we define different year ends for each venture we create in Joint Venture Accounting Module of SAP IS Oil and Gas Solution. If yes how can we ? transaction code or path needed.

    This may be a good start. Display by Month Year the Average and Sum Dates between Start and Stop by Project.
    SELECT      CAST    (
            (CAST(MONTH(Start) AS varchar(2)) + '/01/' + CAST(YEAR(Start) AS varchar(4)))
            AS DateTime
        AS DatePeriod,
        AVG(DateDiff(day, Start, Stop)) AS AverageDaysToClose,
        SUM(DateDiff(day, Start, Stop)) AS SumTotalDaysToClose,
        Name
    FROM     Projects
    GROUP BY CAST    (
            (CAST(MONTH(Start) AS varchar(2)) + '/01/' + CAST(YEAR(Start) AS varchar(4)))
            AS DateTime
        Name
    ORDER BY DatePeriod, Name

  • Individual sitemaps for each website

    Hello,
    We are building a website for one of our customers using Adobe Business Catalyst platform.
    We want to implement the sitemap function but we have some issues with the default available setup.
    Our customer website is a Multilanguage/multi domain website.
    The setup is like this:
    1. Root folder is the website for domain.com (UK – language used is English)
    2. Root/au folder is the website for au.domain.com (Australia – language used is English)
    3. Root/be folder is the website for be.domain.com (Belgium – language used is French)
    4. Root/br folder is the website for br.domain.com (Brazil – language used is Portuguese)
    5. Root/ca folder is the website for ca.domain.com (Canada – language used is English)
    1. Root/ca/fr folder is the website for ca.domain.com/fr/ (Canada – language used is French)
    6. Root/ch folder is the website for ch.domain.com (Switzerland – language used is French)
    1. Root/ch/de folder is the website for ch.domain.com/de/ (Switzerland – language used is German)
    2. Root/ch/it folder is the website for ch.domain.com/it/ (Switzerland – language used is Italian)
    7. Root/de folder is the website for de.domain.com (Germany – language used is German)
    8. Root/es folder is the website for es.domain.com (Spain – language used is Spanish)
    9. Root/fr folder is the website for fr.domain.com (France – language used is French)
    10. Root/it folder is the website for it.domain.com (Italy – language used is Italian)
    11. Root/pl folder is the website for pl.domain.com (Poland – language used is Polish)
    12. Root/us folder is the website for us.domain.com (USA – language used is English)
    We want to implement individual sitemaps for each website (folder in which the website files reside).
    The current sitemap is quite a mess because it's just one file with all the pages, webapps from all websites.
    How can we improve it?

    The current sitemap is quite a mess because it's just one file with all the pages, webapps from all websites.
    Are you referring to the automatically generated /sitemap.xml file? Remember that the sitemap xml spec has no indicators of heirarchy, it's just a flat unordered list of URLs. You can have multiple sitemap xml files though, using a sitemap-index.xml file. If you take this approach, you'll need to hand-edit the xml, or find a tool that will generate it for you. Don't forget to override the /sitemap.xml file, and place a link to your sitemap(s) in /robots.txt.

  • Different mail alerts for each email account

    Just got the new Verizon iPhone. Used BlackBerry for years. One feature of the BB that I think is missing from the iPhone is the ability to set different mail alerts for each email account. For instance, I would like to turn off alerts for my corporate Exchange account (for which I get 100 emails a day), but receive alerts for my Comcast and Gmail accounts.
    Am I correct that there is only one on or off feature for the iPhone for all accounts?

    That turns the account off for receiving mail as you provided, which I'm fairly certain the OP is not interested in.
    The OP wants to be able to turn the new mail alert sound off for one account while leaving it on for another account while all accounts are still checked for new messages.
    For instance, I would like to turn off alerts for my corporate Exchange account (for which I get 100 emails a day), but receive alerts for my Comcast and Gmail accounts.

  • Spry tabbed panels - Different Hover Class for each tab

    Already posted this in the general Dreamweaver section, but just realized there was a specific Spry section. So, my apologies for the repost.
    I'm setting up spry tabbed panels, and I'm wanting to use an image for each tab, with the text already on it. I've figured this much out by creating a different class for each in the spry tabbed panel css.
    However, I'd also like to have a second hover image for each tab. I'm having trouble figuring out how to set up separate classes for each tab's hover state.
    Any help?
    Thanks.

    Just in case you did not notice the announce at the top of this forum's main page, I have copied it here.
    Announcement: New to Spry, or  the Spry forums?
    Hide Details
    Before you post a topic please verify  that:
    You  are using the latest Spry files
    The latest version of  the Adobe Spry Framework is 1.6.1, this is the same version that ships  with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its  wise to upgrade your files to the latest version. This can easily be  done using the Spry Updater that can be found here.
    Your  question was not asked before
    Using the search  functionality on forums you can easily find out if your question has  been answered before. While you are in search, you can specify the  search locations. The Spry forum can be found under:
    Adobe  Labs > Spry Framework for Ajax
    Yoru question can not be  found in the existing documentation
    Spry provides you  with allot of documentation this can found on different locations. In  the sidebar of this forum you can find a small summary of resources that  will help you on your way.
    If these options do not apply to your question,  please be so kind to also supply the following information in your topic  together with a clear description of your issue:
    What  browsers does this issue occure:
    example: Internet Explorer 8 on  Window 7 and Firefox 3.0 on Mac OSX
    What version  of Spry are using:
    example: Spry 1.6.1 ( the version number can  be found in license header of the .css and .js files )
    What  is the url of your website or page in issue:
    example: http://www.example.com/page/in/issue.html
    Step  to reproduce the issue:
    example: Scroll down till you find the  header "help", there you will see a Spry Accordion. When you click on it  it will not open or close.
    So users can provide you with a  better answer, without having to ask you for further details.
    by Arnout Kazemier at Oct 23, 2009 2:47 PM                        
    landon_tc wrote:
    Actually, I do remember posting that, and have updated it with what worked for me. However, I could not recall posting it in a specific ajax spry forum, so I assumed I just posted in the general forum. Hence the current situation.
    Yeah and my name is not Ben Pleysier.
    landon_tc wrote:
    Any help with the current problem?
    Please have a look at this thread http://forums.adobe.com/message/2662019#2662019
    I hope this helps.
    Ben Pleysier

Maybe you are looking for