Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Need Apache config support (willing to pay) |
|
Author |
|
veretekk
Joined: 23 Nov 2011 Posts: 3 Location: Wyoming
|
Posted: Fri 25 Nov '11 21:13 Post subject: Need Apache config support (willing to pay) |
|
|
This is what I need:
Apache configuration;
1. Directory browsing turned off
2. Non existing SUBDOMAIN defaults to ROOT domain
3. Custom error pages display without defaulting to URL of error pages
4. Custom error pages show in root and subdomains
5. Configuration applies to all domains on server (100 domains)
6. All domains error display use same error docs from one path (location)
7. Make perl (CGI) work in all domains and all directories
We are running on
Apache/2.2.16 (Ubuntu)
Thank you
Thomas Prendergast |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7364 Location: Germany, Next to Hamburg
|
Posted: Wed 30 Nov '11 18:24 Post subject: |
|
|
1) Use Options -Indexes
2) create a fetch all ServerAlias *.example.com
3) ?? Sorry my english is not the best
4) See http://httpd.apache.org/docs/2.2/mod/core.html#errordocument
5) Which config shall apply to all domains?
6) see 4)
7)
Code: |
AddHandler cgi-script .cgi .pl
|
Add "ExecCGI" to the options list. The line now looks like this:
Code: |
Options -Indexes ExecCG
|
|
|
Back to top |
|
|
|
|
|
|