Apache :: Serve Domain Subfolder From 2 Different Server

Aug 31, 2013

I need to serve domain subfolder from different Apache 2 server.

1. Squid 3 reverse proxy is pointin to 80.241.222.151 for domain [URL] ....
2. Apache 2 server is on 80.241.222.151 with all files in the root folder so all requests are served from here
3. Now im creating new server at 80.241.222.149 with all files from [URL] ... transferred to the root
4. On Squid 3 server [URL] .... is still pointing to 80.241.222.151
5. But now i need to call [URL] .... from 80.241.222.149 in the root.

What is the example to do this? mod_proxy on Apache 2 server at 80.241.222.151?

View 1 Replies


ADVERTISEMENT

Apache :: Server Ran Out Of Threads To Serve Requests - ThreadsPerChild Settings

Mar 27, 2013

I'm running Apache 2.4.4 on Windows Server 2008 R2. It's already happened many times that Apache stopped responding to requests. The last entry in the error.log:

[Wed Mar 27 06:22:07.043600 2013] [mpm_winnt:notice] [pid 1736:tid 256] AH00354: Child: Starting 64 worker threads.
[Wed Mar 27 06:52:34.521200 2013] [mpm_winnt:error] [pid 1736:tid 1656] AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting

View 1 Replies View Related

How To Create A Subfolder In My Domain And Assign An Ftp User To That Folder

Jun 30, 2009

I need to create a subfolder under my domain name, and assign an ftp user to that folder. I want the user to only have access to that folder, is it possible? can you guys orient me, because I have no idea where to start, my hosting service provider is telling me I can only have one ftp account per domain, maybe I didn't explain correctly to my hosting provider.

View 1 Replies View Related

Apache :: Redirect Www To Non Www In Subfolder

Nov 6, 2014

I have joomla installed on root folder and another joomla installed on subfolder. I want to redirect www to non in subfolder by this code in blog htaccess:

RewriteCond %{HTTP_HOST} ^(www.mydomain.com)?$RewriteRule ^(.*)$ http://mydomain.com/blog/$2 [R=301,L]

View 3 Replies View Related

Apache :: Won't Serve Up CGI

Jan 25, 2013

I have installed Apache 2.0.64(Win32) and after repeated tries at adjusting the httpd.conf file, it still is refusing to serve up CGI. So far I have, following the Apache documentation, set my designated CGI directory with AddHandler directive, Option +ExecCGI enabled. Also have added the ScriptAlias directive as per instructions. These directives should work in conjuction with modules mod_alias and mod_cgi, both of which I have made sure were set to be loaded. The log files show no errors. There are no syntax errors being pushed out at start-up. The server stops and starts upon commands, with no problems,

I will post some excerpts from my httpd.conf in the pastebin as soon as it gets up & running--right now the authentication icon is missing.I have Active Perl 5.16 running on this machine, but my Apache download is the binary without SSL and with msi installer.

View 7 Replies View Related

Apache :: Unable To Serve More Requests

May 25, 2015

I have a little problem (on my Raspberry) with the maximum concurrent connections.When I open multiple tabs of a webpage which keeps persistent connections, apache is unable to serve more requests.Here is the (shortened) mod_info output (which also takes some time till there is a process kind enough to serve the request):

Code:
Server Version: Apache/2.4.10 (Raspbian) OpenSSL/1.0.1k
Server MPM: prefork
5 requests currently being processed, 9 idle workers

.___W____WWW_..W_...............................................
................................................................
......................

Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request

[Code] ....

When I understood it correctly, apache should spawn new processes (up to MaxRequestWorkers=150)

But there are idle???? processes, so it wont add new ones?

I dont think it has to do with mod_proxy (used for the webpage) since the mod_info output is affected as well...

View 1 Replies View Related

AddType In HTAccess Causes Apache To Serve Bad URLs

Nov 15, 2013

My website is on 1and1 shared hosting and to enable PHP I needed to put in my .htaccess the following

AddType x-mapp-php5 .php .html .htm .shtml

View 11 Replies View Related

Plesk 12.x / Linux :: Making Subdomain Serve Files From Same Directory As Main Domain

Sep 28, 2014

I'm setting up a SAAS service which is built on top of Laravel. To put it simply the service itself knows whether its being called from a sub.example.com or just example.com and serves a correct response accordingly. So going to sub.example.com will use the same index.php file as example.com but the routes and controllers within the application will provide a different response. sub.example.com will show a tenant login page where as example.com will show a new tenant subscription page or something else.

So when someone new subscribes I add a new entry to the database with a subdomain name for them and when a request comes from that subdomain and they are logged in it will show them their information. Easy right.

There is a problem though with setting it up with Plesk. When I add a wildcard subdomain, it will look for /subdomains/sub/ for the files which is a bit problematic since I want it to serve the files from the same place as the domain example.com.

Is there a way to configure that so that regardless of the subdomain it will try and serve the exact same content as my main domain?

View 2 Replies View Related

Apache :: Serve XML File As Response For Appropriate Request When Web Service Is Down

May 30, 2013

I am using the latest version of Apache on an Windows XP machine

When my web service is down for maintenance, since Apache is will still be up and running, I would like for Apache to serve an xml file as a response for the appropriate request. I have three operations available, makePayment, calculateFee, and voidPayment.

Is it possible to have Apache determine what type of request is made for example if I have an xml error page for each operation; how will Apache know which xml file to serve based on the operation request from the client

To make it more clear: What is the best practice for modifying apache to know what request is being made in order to serve the appropriate xml file?

View 1 Replies View Related

Apache Overloading Due To Requests To My Main Domain Name Server (DNS) Name

Jan 19, 2008

I currently have a web VPS hosted with FDCServers.net and after 5 days of switching to it i am getting massive HTTP requests. When i login to WHM and hit apache status i have many requests per second by multiple IP's that are going to pages that simple don't exist. Currently my hostname for the server is set at web-01.optical-hosting.com which is what the requests are being sent to. I am also having a DNS issue because when i put http://web-01.optical-hosting.com in the web browser it displays the first account's site under "list accounts" in cpanel. Can someone please help me fix both of these issue's? i will post an apache log in a second post as it is long. Also, these are from overseas. please someone help me with this i have Aim and Msn.

View 4 Replies View Related

Moving Wordpress To A Subfolder

Jul 3, 2009

my blog is on the index and I am planning to put another site on it.. now I want to move my blog to a subfolder or subdomain.. Can I just move the files without affecting the whole blog?

View 6 Replies View Related

How To Do Mod_rewrite From Web Root To Subfolder

Jun 3, 2009

figure out an .htaccess rewrite rule?

I am trying to rewrite everything in the web root folder to use a /blog/ folder.

So for example, if someone goes to [url] then I need it to actually serve the file from [url]

(But not a redirect.. ideally the browser should still show [url]

Is this possible?

View 1 Replies View Related

Do You Set Subfolder Or Subdomain For Different Service

Dec 23, 2008

your main website may be domain.com,

you may run forum,billing,blog systems...etc,

do you install them as sub-folder (ex: domain.com/billing )?

or sub-domain ( ex: billing.domain.com )?

View 13 Replies View Related

How To Chmod The Files And Subfolder + File.php To 755

Jun 25, 2007

i download a script .. when i unzip the script .. all the folder have chmod to 700 + 600

what command could let the folders and sub folders have chmod to 755 ( as root )

i command this

chmod 755 *

but the folders inside the folder didn't chmod to 755

there is alot folders thats why its hard to do it manually :p

View 7 Replies View Related

Apache Error :: Could Not Reliably Determine The Server's Fully Qualified Domain Name, Using 127.0.0.1

Aug 1, 2008

Whenever I restart my apache on my VPS, it throws some wierd warnings:

Forcing reload of web server (apache2)...apache2: apr_sockaddr_info_get() failed for goebs
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
waiting apache2: apr_sockaddr_info_get() failed for goebs
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
.

where goebs is my VPS linux machine hostname.

I already have a domain setup with this VPS, and it works fine, just that I get this weird warning.

View 1 Replies View Related

Create Additional Subfolder Postfix/courier

Sep 24, 2008

I have a mail server which is courier, postfix, amavisd, using Mysql db and virtual mailboxes which I administer through postfixadmin.

I want to be able to add a set of default folders to all mailboxes created such as Possible Spam and some others.

I have investigated shared folders but this is not what i want, is there a way I can get courier/postfix to create a set of additional sub-folders when it creates a mailbox.

All mailboxes are accessed as IMAP mailboxes.

View 0 Replies View Related

Rapid Site Deployment (database Driven Domain Name Server (DNS) + Apache Config)

Oct 29, 2008

I am trying to do something that I believe is fairly non-standard. What I am looking to do is create a system where I can rapidly deploy web sites without having to restart named and Apache. For example, if a customer completes a process, I want to be able to turn that site on immediately using a temporary domain (somecompany.example.com or othercompany.example.com).

With some programming language (hopefully PHP) I would like to get the customer up and running with their site immediately without having to restart the server. While doing some research I found I could use MyDNS which uses MySQL to manage DNS data instead of configuration files. MyDNS can be updated on the fly.

For Apache I have seen wildcard configurations, but everyone seems to be suggesting the use of mod rewrite. I would prefer that the domain maps directly to a specific folder:

somecompany.example.com -> /sites/somecompany/htdocs
(*.example.com -> /sites/*/htdocs)

Does anyone know how I might do this with Apache. It seems similar to user directories (example.com/~username -> /home/*/htdocs)

View 4 Replies View Related

Plesk 12.x / Linux :: Move Wordpress Application From Subfolder To Root

Mar 18, 2015

Wordpress is becoming more and more integrated with Plesk which makes it quite easy to setup a new domain for someone and install Wordpress so he can start.

Often this Wordpress site has to be developed and a better looking site is already available.

By default Wordpress installs in a subfolder /wordpress (I know you can change it by choosing "custom install"). After a while that website is ready for publishing.

To move that website I will have to move the running site to a subfolder and then move the content of /wordpress to the root. This is not sufficient. I then have to do a search and replace on the /wordpress and wordpress/ and replace it with /

No problem there....

But then I have lost Wordpress from the Plesk interface.....

What's the most elegant way to move a Plesk managed Wordpress site?

I don't mind if it stays in its folder (maybe preferrable?), as long as the user doesn't see that "/wordpress" in its URL.

View 3 Replies View Related

IIS 5.1 Will Not Serve ASP Pages

Nov 14, 2008

I have a laptop which was recently reset to factory default and in the process I lost my ability to run and test my sites locally. So, I installed IIS (it is 5.1) and tested the default pages. So far I am having no luck getting anything but this:

-----------------------------
Server Application Error

The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
-----------------------------

I have searched and searched and searched and I am just out of ideas on what to search for. So far, this is what I have tried: ......

View 6 Replies View Related

Serve.com -- Anyone Has Experience

Dec 26, 2008

I have been working on a client's site that is hosted at www.serve.com. Anyone has an experience with them? I find them very lousy in support, support tickets take days to get response.. sometimes no response...

My task is to install drupal and customise it and .. but the clean-url feature doesnot work at their server .. as this conflicts with ther system settings. wow.

I am trying to find someone who has successfully installed Drupal with clean url enabled on their server.

View 7 Replies View Related

Serve 1 000 000 Images From One Directory

Aug 13, 2008

I plan to build huge image gallery, using lighttpd to server these images. It would be easiest for me to have all these files (more than 1 000 000) in one directory? Is it ok?

I have no idea, if this can cause any problems. Should I part my files into several directories, does it make serving better/faster?

View 14 Replies View Related

How Fast Does Your Site Serve Pages

Mar 31, 2009

Apache includes a handy little program called ab

You can use this to measure how long it takes a web site to deliver a page n times

I wonder if people would like to state how fast their sites using shared web hosting can deliver simple pages, one in HTML and one in PHP (people can add other scripting languages if they wish.

Please don't post the site name or host name, just the results; I'd be interested in seeing what the range of results is, without getting into debates about hosting sites.

Here are two web pages

hello.html:

<html>
<body>
<h1>Hello, world</h1>
</body>
</html>

hello.php:

<html>
<body>
<?php

echo "<h1>Hello, php world</h1>";

?>
</body>
</html>

Here are the test commands; note I set the concurrency level to 1 ("-c 1"), which gives a more realistic measure of the user response time for low-traffic sites.

html: ab -k -c 1 -n 50 [url]
php: ab -k -c 1 -n 50 [url]

And here are my results:

************** html:
Server Software: Apache/1.3.37
Concurrency Level: 1
Time taken for tests: 6.196 seconds

Requests per second: 8.07 [#/sec] (mean)
Time per request: 123.929 [ms] (mean)
Time per request: 123.929 [ms] (mean, across all concurrent requests)
Transfer rate: 3.36 [Kbytes/sec] received

************** php:

Server Software: Apache/1.3.37
Concurrency Level: 1
Time taken for tests: 15.859 seconds

Requests per second: 3.15 [#/sec] (mean)
Time per request: 317.190 [ms] (mean)
Time per request: 317.190 [ms] (mean, across all concurrent requests)
Transfer rate: 0.93 [Kbytes/sec] received

View 4 Replies View Related

Serve Images From A Different Location Based On IP

May 27, 2009

We have a major chunk of our traffic coming in from Asia and our servers are in the US. The latency is an issue which we have sorted out by ensuring we use Amazon's cloudfront CDN atleast for the static images.

Now while this is working rather well, we are now wanting to experiment and see if we could put up an additional image server in our country to serve IPs from that specific range.

In case the local image server goes down, the amazon cloudfront setup should be used. What are the best options for achieving this with the least amount of latency for the users?

View 8 Replies View Related

How Do Facebook, MySpace, Etc Serve So Many Users

Jan 24, 2008

when I type in www.facebook.com or www.myspace.com I'm taken to the main page but millions of people do the same thing every day.

I have basic understanding of DNS but only for single servers and small websites. I don't know how these organizations link of the necessary servers so that their website is available to all.

View 4 Replies View Related

What Other Hosting Companies Serve The Same Niche As Alphared

Oct 14, 2008

namely, budget prices on servers. in particular unmetered bandwidth.

steadfast and hivelocity are the two I know of, but I'm wondering if I'm missing any.

View 8 Replies View Related

Windows Serve Runable To Send Mail To Outside Email

Mar 5, 2008

I have a Windows server + Helm 4 + smartermail 4.

I found that my server today all users web scripts suddenly cannot send the contact form mails, membership registration mails to outside user. (all acripts code by asp.net)

I try to use many form mail scripts, all als

View 1 Replies View Related

Ngix To Serve Static File Contents On CPanel Servers

Jun 17, 2009

how to setup Nginx webserver on a cpanel server to serve static contents,
say /images folder from every domains hosted on the server so that Apache's load will decrease?

View 12 Replies View Related

Mirror/Mirroring Site Hosting/aka: Impressed At Ability Of Cheap Hardware To Serve Static HTML

Nov 5, 2009

We recently began to mirror a large number of open source projects with a dedicated mirror server on our network and I was surprised not only with how popular the mirror server has become, is, but also of the ability of the hardware we're using to keep up with the load.

At an given time, the mirror seems to be pushing at least 50 Megabits of trafficthe server is also an IRC server (irc.igsobe.com) for customers and internal staff communications.

The hardware is a low end Dell Pentium 4 @ 2.66 GHZ server, running with 512MB of RAM and a 400 GB ATA hard drive. CentOS v5.3 is the operating system.

If you're interested, you can view the HTML logfile analysis here but that doesn't tell the full story as FTP users make up a good portion of the traffic. We've received over a quarter million hits in the first few days of November alone.

18:14:15 up 65 days, 9:04, 5 users, load average: 0.31, 0.69, 0.56

The only change that I made to the default configuration was lowering the maximum number of Apache servers to 128.

Just thought I'd share this information as I wouldn't have thought a server with such a small amount of RAM would be able to serve up so much data, even though we are talking strictly static HTML files.

I'll definitely keep this in mind when clients ask me for those "what type of dedicated server should I use for XXX" type discussions that are had all too often with clients.

View 0 Replies View Related

Plesk 11.x / Linux :: Server Domain 302 Redirects To Hosted Domain - How To Undo

Nov 16, 2014

When I hit my server's domain it redirects me to one of the hosted sites' domain with a 302 redirect. It used to return the default plesk server page. How can I cancel the redirect?

View 2 Replies View Related

Domain Parking - Wildcard Domain Name Server (DNS)?

Nov 5, 2008

We have a lot of unused domains that we'd like to setup domain parking for.

To keep it simple, we'd like to just change the namesevers to ns1.domainparking.com and ns2.domainparking.com (not real nameservers!) and the domains would then automatically show a simple web page.

We use cpanel servers and are wondering how easy this is to do? I've seem mention of wildcard dns? Is that the answer?

View 2 Replies View Related







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