Nice tutorial, thank you very much. Joined Aug 10, Messages Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. Last edited: Nov 25, Joined Apr 11, Messages 2. Thank you for the tutorial! I am trying to change the APC configuration but there is no apc. I tried to put it in several directories without any luck Do you know the right location for the apc.
I installed APC with Centos. I found out apc. WalterK New member. Joined May 16, Messages 1. Joined Oct 29, Messages Sign into your client account open in new window and click the "view" link next to your license.
Verify that the server IP address and operating system is correct. Also make sure that the license is Active and Verified if it isn't, then our billing system hasn't processed your order yet.
Enter your license key: Enter auto if you do not know your key. Check overview section if you'd like the insallation to be customized. Note : for almost all areas, you can use if-then-else syntax and set variables which carry forward within that template. Knowing the order in which all of the templates are being loaded in can help you to determine when your tokens will be available.
If you're running Nginx or OpenLiteSpeed, the guide still applies, but changes in the template names may also apply. More on the different names in this guide. Since the above order does matter, if you're using a token which has not yet been fixed, as of DirectAdmin 1. So at that point, it should be known and properly filled, instead of being left as TOKEN in the template.
If you wish to change the setup of the VirtualHosts for all domains, you can do so by creating your own custom templates. Once you've copied the 4 VirtualHost files or just the ones you want to the custom directory, you can then edit the new files you've just copied.
DirectAdmin will always check for the custom file before going to the default ones. The files with the 2 in them are for Apache 2. These tokens are what will be replaced with specific user data for each domain created. The top of the templates should contain? You can trigger DirectAdmin to rewrite all User httpd. The command will be added the the task queue, which is checked once per minute, so it may be a few minutes before all httpd.
Note that you can also use if-then-else statements open in new window if you don't want all settings to be global. Example, say you want a custom item added, only for 1 domain:.
See the if-then-else link open in new window for more info on what else you can do with this basic scripting tool.
You can also run actual scripts with database queries, etc. DirectAdmin allows the Admin to insert extra httpd. Once you see the list of domains, click the domain you wish to insert the extra httpd.
At the bottom of the page, you'll see the current httpd. It will contain all VirtualHosts for all domains, subdomains and redirects.
Any changes made by this page will only affect the VirtualHosts for the domain in question, not the other domains owned by that user. If all domains need the changes, then you would repeat this process for each domain. The top textarea is where you will paste the custom httpd. All tokens that are available for the VirtualHost will be available with this feature.
You can also set any token you wish. For example, if you with to change the DocumentRoot for a domain, you can paste:. Note that this new DocumentRoot will be used for all DocumentRoots for this domain, including https connections and subdomains, so it may not be a desired effect.
Another common use is to add another ServerAlias. This allows another domain to be used to access the exact same content. To accomplish this, you would write:. You will also have to make sure that newdomain.
Note , the above example will set the DOCROOT token into all 4 templates, so this will also apply to all subdomains, which may not be desired. With the ever evolving needs for security, good encryption cipher lists can change regularly.
Also, the needs of those connecting to a given server may be different from box to box, e. To use different ciphers with Apache 2. Also note that the recommended ciphers and protocols update very often, so you'll want to make sure to check set these accordingly. Once you've created the custom httpd-ssl.
0コメント