Modifying Apache Status To Include Full SubDomain URL

May 19, 2008

if its possible to display subdomains on the Apachelog page? For example under "vhost" it would list the full website address of each subdomain?

View 2 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Full Backup Does Not Include Horde And Roundcube Databases

Apr 22, 2015

So I was trying to look up something from the horde Databases just to find that the full server backup that can be triggered in "tools & settings" -> "backup manager" does NOT include the horde and roundcube databases, even with "configuration and content" selected.

Sure, there are 7 days worth of daily backups in /var/lib/dumps but it would be nice to have those files included in the "full backup" Or am I missing something here?

View 4 Replies View Related

Modifying Apache's Default Index

Jul 7, 2007

I was using Apache's <Directory> directive to modify the way the default indexes look.

I recently moved from openSUSE to Windows Server 2003 and copied over the Directory code but it no longer works.

Code:
<Directory />
Options All
AllowOverride All
IndexOptions SuppressHTMLPreamble SuppressDescription FancyIndexing VersionSort FoldersFirst IgnoreCase IconsAreLinks NameWidth=60
HeaderName /!_images/html/header.shtml
ReadmeName /!_images/html/footer.shtml
AddIcon /!_images/icons/application.png .exe
AddIcon /!_images/icons/application_xp_terminal.png .sh
AddIcon /!_images/icons/book_open.png .pdf
AddIcon /!_images/icons/music.png .mp3 .ogg
AddIcon /!_images/icons/photo.png .jpg .jpeg .png .bmp .gif
AddIcon /!_images/icons/television.png .avi .wmv .xvid .divx .mpg .mpeg
AddIcon /!_images/icons/script_code_red.png .php .php4 .php5 .js
AddIcon /!_images/icons/ruby.png .ruby .rb
AddIcon /!_images/icons/folder.png ^^DIRECTORY^^
DefaultIcon /!_images/icons/page_white.png

IndexIgnore query.txt !_images !_Jason !_media2 lost+found Modules _images login torrentflux phpinfo.php Thumbs.db tmp.txt phpmyadmin sandbox test.txt test.php _index.php robots.txt System Volume Information RECYCLER
</Directory>

It doesn't load the headerfile or the readme file (they exist) and it uses the Default Icon for all files

View 10 Replies View Related

Plesk 11.x / Windows :: Promote Subdomain To Full Domain?

Feb 19, 2013

I've got a plesk 11 server and I've created a subdomain for a client but I need to have this as a full domain for the SSL certificate. Is there a way to convert a subdomain to a full domain without deleting the subdomain and creating a new hosting subscription?

View 2 Replies View Related

Plesk 11.x / Windows :: Promote Subdomain To Full Domain

Sep 18, 2012

I have a client that has a subdomain shop.xxxx.com. This subdomain needs its own SSL and own IP address for it. Right now its listed as a subdomain under xxxx.com. Also, the xxxx.com has another SSL and IP.

Since there doesnt seem to be any way to do this in plesk, I had to create the subdomain as a regular subdomain and then manually manipulate IIS to change the IP and add the ssl mapping.

If I try to add a new domain, it automatically tags it with the WWW.

Is there any way to just create a new domain without the www infront of it, so I can move shop.xxxx.com from a subdomain to a primary domain that stands alone...

I haven't played around much with the new iis 7+, but in older iis, you needed a dedicated IP for each SSL certificate.

View 3 Replies View Related

Apache :: Include Information On Last Page Served In RewriteCond

Feb 8, 2014

I run a the polyglot website [URL] .... and my question is about "how to serve a page in the language preferred by the user, if available?"

At the moment I use Multiviews to add a language code to the requested URL according to the AcceptLanguage header (e.g. if "tr", serve index.html.tr instead of index.html), but this information doesn't always match user wish and I was told that serving different filenames for the same requested URI can prevent proper pages indexing by search engines.

So, I will now store web pages in each language in a specific directory, e.g. subdirectories en, it ru, tr, etc. For instance /tr/index.html will be in Turkish.

On every page, user can change language clicking on a link showing e.g. "uk" for Ukrainian. Now I want that once they do that all pages requested by the same client be served in the same language, unless/until user click on another language link.

I know that I could set a cookie or use HTTP-REFERER for that, but possibly the browser can be set to refuse cookies or not sent the Referer HTTP header.

So my question is : knowing that when a user click on a language link we serve a page in the corresponding directory, how could I reuse that information for next request of the same client (same IP address), including it in a RewriteCond directive so that I can serve requested page in the same language directory, if it exists.

I wish to avoid server side scripting (at present the website is 100% static).

View 1 Replies View Related

Apache :: Redirection Page From Subdomain To New Subdomain

May 11, 2015

Wordpress installation (WPML with 3rd level domain es. site. com, fr. site. com).

I need to redirect page from subdomain to a new subdomain

Example:
esp.site.com/oldpage -> es.site.com/newpage (different subdomain)
esp.site.com/oldpage1 -> es.site.com/newpage
esp.site.com/oldpage2 -> es.site.com/newpage

Source site is very chaotic and there are no clear rule for redirection (no regex )

So I need to redirect every page but syntax:

Redirect 301 esp.site.com/oldpage http:// es.site.com/newpage

doesn't work!

which is the correct syntax ?

Can I manage all from one .htaccess file in main root (www) or should I create "esp" directory (and point old subdomain to it - one for every language) and put .htaccess in every directory with redirection ? 

View 1 Replies View Related

Apache :: Capturing Internal Apache Errors Return Custom HTTP Status

Nov 15, 2013

Server Version: Apache/2.2.22 (Unix)

On our production service, we've been getting numerous malformed POST requests to some of our CGI scripts that are showing up as 500 errors in our logs. They are malformed in the sense that the actual content length doesn't match the Content-Length specified in the request.

Here's the most trivial example I can come up with that reproduces the problem for us:

POST /some_valid_alias HTTP/1.1
Host: example.org
User-Agent: Arbitrary/1.0
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 769
-----------------------------41184676334

In addition to the 500 error in the access log, we see the corresponding error in the error log:

(70014)End of file found: Error reading request entity data

Based on the nature of the POST request and the error response, it does appear that Apache is doing the right thing here.

The POST never actually makes it as far as the script being targeted (/some_valid_alias in the above example); in other words, Apache returns 500 to the client, writes the error to the error log and never executes the script.

Is there a way to capture/avoid internal Apache errors like 70014, and return some other HTTP status besides 500 (like 403)? It's particularly annoying in our case, because our server sends us an email for all 500 errors.

So far, our best "defense" against these 500 errors is to disallow POST for these aliases, which normally just ignore the POST data anyway (when the request is not malformed):

RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule ^/(some_valid_alias)(.*)$ $1$2 [R]

But this won't work for all our scripts, because in some cases we do want to permit POST.

View 2 Replies View Related

Apache Status

Jun 15, 2008

we have an option in WHM which we can view the Apache Process, but we don't have this option in PLESK, can I view Apache Process in PLESK too or from SSH?

View 3 Replies View Related

How Enable Apache Status

Jun 10, 2009

how i can enable apache status like cPanel ! in directadmin

before im enabled

Location /httpd-status>
SetHandler server-status
</Location>
but seems its not like cPanel ( dont show IP and where file now downloaded ... and more information)

Server Version: Apache/2.2.3 (CentOS)
Server Built: May 28 2009 12:50:07

Current Time: Wednesday, 10-Jun-2009 05:59:10 EDT
Restart Time: Tuesday, 09-Jun-2009 13:39:08 EDT
Parent Server Generation: 0
Server uptime: 16 hours 20 minutes 1 second
19 requests currently being processed, 13 idle workers

Scoreboard Key:

"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process

PID Key:

4494 in state: W , 5241 in state: W , 3142 in state: _
4318 in state: _ , 4319 in state: W , 5173 in state: _
4175 in state: W , 5242 in state: W , 5174 in state: W ....

View 1 Replies View Related

Apache CustomLog - Status Code

Apr 14, 2009

if anyone can provide me with some syntax help for Apache 2 CustomLog.

Basicly. I want my CustomLog LogFormat to only log entries when the status code is either 200 or 304.

I've looked over [url]

I just can't figure out how to only log those 2 status codes.

View 0 Replies View Related

Checking Apache Status Page In WHM

Nov 15, 2008

I am just checking apache status page in WHM

View 1 Replies View Related

Apache :: Server Status Unavailable

Jan 14, 2014

Issue: Unable to access simple server status reports though server-status.(chrome could not find..)

Environment:

Home Lab; Win8(dont ask..)
apache 2.0(httpd-2.0.64-win32-x86-no_ssl)
*Fire down, router rules unrestrictive

set in httpd:
...
<Location /server-status>
SetHandler server-status

Order Deny,Allow
Deny from all
Allow from all
</Location>
...

Advanced mods, require compilation to standing installation of apache but the server status is said to be precompiled with the version.

View 6 Replies View Related

Apache :: Get Server-status To Display

Mar 24, 2014

i am trying to get server-status to display. when i have the following set:

<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from .myServer.com
</Location>

You don't have permission to access /server-status on this server.

View 3 Replies View Related

Apache :: Client Address Via Status

Nov 1, 2013

Pretty new to Apache and recently enabled teh Apache Server Status module.

A column is confusing me, after CONN/CHILD/SLOT is CLIENT, most of the addresses in this column are my own local addresses but I have a few which I don't recognise and show up on whois.net as follows;

203.188.201.201 = Yahoo Mail
199.87.232.177 = No Result
141.44.51.95 = Query terms are ambiguous
58.218.204.102 = CHINANET-JS

Why would these show on my status?

View 4 Replies View Related

Cpanel Apache Status Vhost (unavailable)

Jan 27, 2007

In Cpanel, If i click on Apache Status it tells me aload of website that have been visited recently, under the vhost column. It shows this but sometimes under those it shows aload of (unavailable). Why is this. Is this normal?

View 2 Replies View Related

Apache :: Get Current CPU Usage From Mod Status On Windows?

Mar 19, 2014

Is it possible to get current CPU usage from mod_status on Windows? I thought it's ExtendedStatus On directive required but still no CPU usage.

View 7 Replies View Related

Long Running Apache Processes In Server-status

Feb 13, 2007

I'm not sure I understand the server-status page enough to know if this is a problem or not, but I have several processes that seem to run forever, or until I restart Apache. e.g.

Code:
13-1 21045 0/697/4264 W 59.45 19641 0 0.0 43.28 274.97 66.249.66.133 www.example.com GET /wp/2005/01/ HTTP/1.1
19-1 408 1/834/1831 C 83.52 32463 0 14.8 149.66 263.48 66.249.66.133 www.example.com GET /wp/ HTTP/1.1
30-1 14416 0/430/431 W 35.19 13347 0 0.0 37.42 37.44 66.249.66.133 www.example.com GET /wp/category/issues/ HTTP/1.1

They are almost always on a single domain (there's about 100 on the server) that's a Wordpress site. These processes are also almost always a search engine.

On the rare case I see them running on other domains on the same server they're always on Wordpress sites.

The longer the processes run, the more processor/memory they use, the more they slow the server down.

It seems to have just started in the past few weeks, I've had the site there for a couple years.

View 2 Replies View Related

Apache :: Reduce Entries In AccessLog Based On Status Code

Aug 26, 2014

Basically I would like to record only certain status code entries in my access log. For example I would like to skip all entries with 200 status.

The documentation under "Modifiers" [URL] .... works somewhat but it still makes an entry in the AccessLog file.

This line in httpd.conf

View 9 Replies View Related

Apache :: Error Reading Status Line From Remote Server

Aug 6, 2014

We are currently using Apache 2.2.10 as the reverse proxy for the SAP portal server 7.3.1. The SAP applications are built based on webdynpro abap technology.2 of the apps are getting intermittent spinning circles. The Apache server will ultimately timeout and give the "bad request" and HTTP 400. We were never able to reproduce the problem except we do see users are running into them. Obviously, the problems occur very randomly, but often enough to generate a lot of support tickets. No error was generated in the sap system log.

Here is what I see from the apache access log and error log:

[31/Jul/2014:23:50:26 -0400] TLSv1 AES128-SHA "POST /sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=VcFRQjFOvu8TJYp9gDoeAA--4x1GQAg0MPPjCUEQif5iWQ--?sap-contextid=SID%3aANON%3asapprd_PR3_03%3aezUnW-FXtaYVyXREaAD7rxW0k8o5pk_n9RfjPfcB-NEW HTTP/1.1" 400 3004 "https://xxxxx/sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=VcFRQjFOvu8TJYp9gDoeAA--4x1GQAg0MPPjCUEQif5iWQ--" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)" 706345611

[Fri Aug 01 14:19:07 2014] [error] [client 10.4.53.198] (70014)End of file found: proxy: error reading status line from remote server xxxxxx, referer: https://xxxxx/sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=RaH2yjQlV6o7wVaj6wv6zA--LXTMFzjjKvcuwT*DXWoBmA--

I found bug 37770 and went to see the apache admin. But he thinks that the parameter(proxy-initial-not-pooled=1) that fixes the bug only applies to mod_proxy_http. However, we are using mod_proxy.

View 1 Replies View Related

Apache Request Is Full

Dec 6, 2008

when i check apache status, i see one domain send many request to server, for example:
domain.com 10.20.30.40
domain.com 10.20.30.40
domain.com 10.20.30.40
domain.com 10.20.30.40
domain.com 10.20.30.40
-
-
-
how can i prevent this problem?
this problem tease me and my server, because induce apache to work unremitting.
Ram Usage is: 65%!

View 5 Replies View Related

Apache Not Showing Full URL?

Apr 1, 2013

When I go to the [URL] ... is loads the index page just fine. When I go use the [URL] .... it still loads the index page, I don't want it to do that, I want it it to load test.php. When I click on a link (for say [URL] ....) on index.php the url stays as [URL] ....; I actually want it to show [URL] .... (while I test things at least). Is this a .htaccess issue?

View 2 Replies View Related







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