Apache :: Multiple Readme Files?

Mar 7, 2014

I very much like the "readme.txt" that Apache appends to the directory listings. That is, when a browser GETs a directory, the text in that file is put underneath the list of files therein.

View 1 Replies


ADVERTISEMENT

Apache :: Multiple Error Codes For Multiple Pages

Nov 9, 2012

Depending on where u are at on my site (documents pages, training, main root, etc.) will depend on which type of background, footer, header and the like you'll get. Now I was thinking. Is there a way to have multiple error messages for more then one page depending on where you are at on a site? Right now it's intranet site and a modded snitz forum. What is the code and were does it go and in which apache conf file(s) does it go in?

View 1 Replies View Related

How Do You Untar Multiple .tar.gz Files?

Feb 19, 2008

I am getting really frustrated in my attempts to automatically uncompress a bunch of .tar.gz files within a directory.

I was told to try tar -xvzf $i;from within the directory containing the tarred files, but all that returned was errors.

Even a google search hasn't turned up info that a newbie like me can understand.

View 3 Replies View Related

Uploading Multiple Files

Mar 19, 2008

I want to install a script (a simple wordpress blog)on my website but now i'm just astonished at how many files I have to upload on my server's directory! Uploading those files one by one will take forever. Is there a way to upload multiple files all at once?

View 3 Replies View Related

Change Multiple Files

Dec 10, 2007

im sure ive asked this before but i cant seem to find my old post via search. i have just moved to a new server and i need to change the ip addresses in my dns on the new server (have copied the zones from old one ) to replace my old servers ip with my new servers so that when i change my nameservers the newserver handles serving the site.

View 6 Replies View Related

Move Multiple Files

Mar 1, 2007

i have a few directorys on my server which have something in the region of 200+ subdirectorys containing 1 or 2 files. im wondering if anyone knows how to move all the files in the subdirs into the main directory without me going into each folder and doing it by hand

servers running centos 4

View 4 Replies View Related

Multiple Server Accessing Files

Mar 28, 2009

I have one server right now and will be adding a second server in the next 4-5 months. In the meantime I've upgraded the coding in my community site to act as if there is already two servers. Mainsite.com has all the php files, and a separate HD for mysql db only, [url] has all the user images and videos.

This problem I'm having right now is the permission to delete files from [url]via [url]

What I've Tried:

vsFTPd - it has a small footprint but its not reliable, needed to be restarted a few times while testing on the beta site.

usermod - this is messy, changing chmods, owners, grps... etc I tried all of that but still had problems getting the Mainsite to be part of the group without having to change all the chmods and grps.

NFS mount - haven't tried yet...

Does anyone run a multiple server site? My sites pretty big been around for 4yrs, and i've upgraded servers 3 times since then.

If i can't get this to work right my final option would be to continue to upgrade to a new server each year, everytime a bigger and faster server setup becomes available.

Current server Dual Xeon 5310 4gb, 3 x 146gb scsi/sas. The server is doing fine with this setup. But with the new site uprade and features it's going to top things out. I can keep throwing ram on the server and move mysql off site.

The site has little over 1mil users with about 60-70% of them being active daily...

View 5 Replies View Related

Moving Files From Multiple Subfolders

Apr 6, 2008

i have a lot of files in about 100-200 subfolders and im wondering if anyone has a script i can run to move the files from the subfolders (mostly .zip files) to the root folder then extract the zips (which wil normally result in a .rar file) then extract that file and leave the extracted files in the same folder so i can easily access them, the folders/files are old backups of one of my computers that i need to get data out of. i have access to linux and windows systems whichever is easiest

View 2 Replies View Related

Multiple Large Core Files

May 20, 2007

Just noticed quite a few large Core. files within one of our websites (within a sub folder of public_html). Anyone knwo what these are and how they got there?

View 3 Replies View Related

Auto-upload Updates/files To Multiple Accounts

Oct 29, 2009

We're managing a CMS script which we offer as a hosted solution / leased script. This means we have several accounts on our server, one pr. client/script user. They all run the same script software and occasionally we have to upgrade the script on these sites. Until now this is being done manually.

Connect with FTP -> upload new files -> Done.

This is very easy work but takes annoyingly much time due to FTP needing to set up connections, switching accounts, etc.. and if you have 100s or 1000s of accounts this becomes...yes...you know..

The question is now, how can this be done easier? I was hoping that it would be possible to do this automated somehow (we have root access to our server).

View 1 Replies View Related

Plesk 11.x / Windows :: How To Change Permissions For Multiple Files At Once

Sep 9, 2013

How can I change permissions of a lot of files through plesk file manager without selecting one by one?

View 2 Replies View Related

Multiple Sites On Apache

Jul 8, 2007

Can i run multiple sites on apache? and if so how do i do it.

View 3 Replies View Related

Apache Keeps Stopping. MULTIPLE Times Per Day!

Jul 1, 2009

Apache keeps stopping. MULTIPLE times per day! There is no logic to when it dies. But about every 2 hours.

Load stays below .30 and there is free memory available.

This is on a VPS machine. None of the other VPS's are having an issue. Just this one.

Centos release 5.3 (Final)
Apache/2.2.3

Here is what is in the httpd.conf file. I realize the numbers are way too high, but just trying to get this issue to go away.

Code:
<IfModule prefork.c>
StartServers 100
MinSpareServers 100
MaxSpareServers 100
ServerLimit 512
MaxClients 512
MaxRequestsPerChild 4000
</IfModule>

<IfModule worker.c>
StartServers 100
MaxClients 500
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 100
</IfModule>
Here is what is in the /var/log/httpd/error_log file before it dies:

Code:
[Wed Jul 01 18:06:32 2009] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 98 idle, and 108 total children
[Wed Jul 01 18:08:17 2009] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 74 idle, and 76 total children
[Wed Jul 01 18:08:18 2009] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 16 children, there are 63 idle, and 63 total children
[Wed Jul 01 18:08:19 2009] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 32 children, there are 79 idle, and 79 total children
[Wed Jul 01 18:11:36 2009] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 93 idle, and 108 total children

View 5 Replies View Related

Apache :: Multiple Server Redirection

Jul 16, 2015

Our servers has been updated recently and my site is not working properly. It was working before the server change. When I click on the links, it doesn't update correctly, instead it gets the last cached data. I have to refresh each link for it to update which shouldn't be the case. I'm a front-end and have no access to servers. Could this be server-related?

View 1 Replies View Related

Apache :: 2.4 - How To Configure Multiple Clusters

May 2, 2013

I wanted to configure 2 clusters on Apache 2.4. Here are my sample configurations

Cluster 1 config:
----------------

<VirtualHost *:80>
ServerName mywebsite1.com
<IfModule mod_proxy_balancer.c>
<Proxy balancer://sgcluster>
BalancerMember http://IPaddress1:80/ loadfactor=1
BalancerMember http://IPaddress2:80/ loadfactor=2
ProxySet lbmethod=byrequests

[Code] ....

I've included both configuration file in httpd.conf. I'm getting the errors, when I tried to start up the apache.

[Thu May 02 11:01:34.243583 2013] [slotmem_shm:debug] [pid 9240606:tid 1] mod_slotmem_shm.c(448): AH02301: attach looking for /opt/apache2/logs/slo
tmem-shm-mod_heartmonitor.shm
[Thu May 02 11:01:34.243667 2013] [lbmethod_heartbeat:notice] [pid 9240606:tid 1] AH02282: No slotmem from mod_heartmonitor

[Code] .....

View 2 Replies View Related

Apache :: Add Multiple Web Pages To Website?

Jan 23, 2014

How do I add multiple web pages to my server?

View 6 Replies View Related

Apache :: Load Balance Multiple Domains?

Apr 2, 2015

I am completely new to apache and I had the load balancer set up for a single domain that was working perfectly fine, but when it came to multiple domains i couldn't, for the life of me, figure out what to do.

There is example.com sub.example.com and otherexample.com

I had a single node set up for this but I want to experiment with the balancer. I have scratched Google and I only found broken info which couldn't explain much to me. Here are my domains

<VirtualHost *:80>
DocumentRoot "/var/www/domain.com"
ServerName domain.com
</VirtualHost>

[Code] ....

Any example configuration of the default file.

View 1 Replies View Related

Apache :: Multiple Backend Ports For One Instance

Jun 16, 2014

I inherited an Apache HTTP instance from a colleague. That's why I'm not deep into that stuff. My current scenario is the following: We are running several backend instances which are published to the internet via Apache HTTP Server which is configured as Reverse Proxy (RP). In the past there was only one port and one protocol to handle by the Apache HTTP (RP).

Now I have the following need. There has to be published a Web Service from one instance using two Ports with two protocols (HTTP and HTTPs). I'm not sure how to solve that need.

A solution I tried already was to change and add the variable DEF_BACKEND_PORT to DEF_BACKEND_PORT_1 and DEF_BACKEND_PORT_2 but it didn't worked.

View 2 Replies View Related

Apache :: Redirecting To Multiple Webapps In Same Tomcat

Jun 25, 2015

I must say that I tried a lot of possibilities but my knowledgment in Apache WS is not too much advanced.

Apache Web Server version: 2.2.22
OS: Centos 6 64 bits
Tomcat version: 7.0.57

What I need to achieve is the following:

I have some plain websites defined this way:

<VirtualHost *:80>
ServerAdmin example1@example1.com
DocumentRoot "/opt/sites/example1/"
ServerName example1.com
ErrorLog logs/example1-error_log
CustomLog logs/example1-access_log common
RedirectMatch permanent ^/(.*) http://www.example1.com/$1

[Code] ....

View 5 Replies View Related

Apache :: 2.4.9 For Windows With Multiple Virtual Hosts

Jun 5, 2014

I have my Apache 2.4.9 for Windows with multiple Virtual Hosts, the main one is configure like this:

Code:
NameVirtualHost vhost1.domain.org:80
<VirtualHost vhost1.domain.org:80>
ServerName vhost1.domain.org
DocumentRoot "C:/Apache24/htdocs"
ServerAdmin techsupport@domain.org
# ErrorLog "logs/vhost1.domain.org-error.log"
# CustomLog "logs/vhost1.domain.org-access.log" common
</VirtualHost>

The rest like this:

Code:
NameVirtualHost vhost2.domain.org:80
<VirtualHost vhost2.domain.org:80>
ServerName vhost2.domain.org
DocumentRoot "C:/Apache24/htdocs/vhost2"
ServerAdmin techsupport@domain.org
# ErrorLog "logs/vhost2.domain.org-error.log"
# CustomLog "logs/vhost2.domain.org-access.log" common
</VirtualHost>

There is no *:80 anywhere and still when I go to any vhost it always load the main one.

What else do I need to check?

View 19 Replies View Related

Apache :: Setting Up URL Rewrite Rules Multiple VHs

Oct 21, 2012

I'm kinda new to apache and I have the following situation.

I have a vps, on which I have set the following:

WordPress Site A, has it's own VirtualHost and domain
WordPress Site B, has it's own VirtualHost and domain
Canvas LMS (not connected to a domain).
Canvas LMS can add multiple accounts, which may (or may not) be accessed individually using a URL that looks as follows:

{canvas_root}/accounts/{account_id}/

For example : http://....../accounts/4/

I need to add a link to each of WP sites, which points to each site's account on Canvas, such that it appears as .../learning/ folder

For example:

Code:
http://WPSiteA/learning/
http://WPSiteB/learning/

which actually represents

Code:
http://WPSiteA/accounts/4/
http://WPSiteB/accounts/5/

Which in turn represents

Code:
http://{my_vps_ip}/accounts/4/
http://{my_vps_ip}/accounts/5/

respectively

Noticing the following:

I do not want the users to see the /account/4/ , just /learning/
I also want to prevent accessing
Canvas LMS is located beyond the website's DocumentRoot
I want this to work with both HTTP and HTTPS

View 3 Replies View Related

Apache :: Times Out When Multiple Vhosts Are In Place

Apr 21, 2015

when I had multiple (at least 5) vhosts set to Apache when it just hanged, this was fixed adding:

Code:
Acceptfilter http none
Acceptfilter https none

To my httpd.conf, but now it's not hanging, it just times out, I get no error, nothing in the error.log file, it just times out.

After doing a refresh, it comes back like nothing happened.

View 13 Replies View Related

Which Versions Of Apache And Mysql Can Take Advantage Of Multiple Cpus

May 15, 2007

Are there particular version of mysql or apache that are best suited when you want to utilize a multi-core/multi-cpu system? For example, we are currently using apache 1.3 and am not sure if it has the inherent ability to use multiple cpus to its benefit.

Or would the fact that it spawns child processes take advantage as the processes will be spawned on the different CPUs?

View 6 Replies View Related

Apache :: Multiple Servers On Single Linux Box Redhat

Nov 5, 2014

I need to configure multiple Apache Web Servers on redhat server. I have copied and extracted Apache 2.2 into redhat server and extracted but not able to install because I don't understand setting prefix. Please let me explain about prefix configuration and how to set it. At the same time I would like to know is it possible to setup 4 Apache Web Servers on same machine if possible then how to. Can we set up different versions of Apache HTTP Servers?

View 17 Replies View Related

Apache :: Unable To Get Multiple GUN Groups To Have Access To Directories

May 24, 2013

I'm trying to get multiple GUN groups to have access to certain directories.

Access to transport, delete

When you go to access transport or delete you get prompted for user name and password when entered you get in. However when I add GUNtest10 in the required ldap group. It doesnt accept your user name and password.

######ACL Directives######

LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
<Directory /bills/>
AuthType Basic
AuthBasicProvider ldap
AuthName "1Login with your Windows ID and password"

[Code]....

View 1 Replies View Related

Apache :: Multiple NICs And DHCP - How To Force Listener To IP

May 28, 2013

I have apache installed on a box with 2 nics. I've seen how to force the listener to an IP, but the issue is that this box uses DHCP. Is it possible to lock the listener to a network/subnet or to a specific NIC?

View 2 Replies View Related

Multiple Domains On A Dedicated Server, Plesk, Users And Apache

Jul 1, 2008

In my old server (VPS) I had my dir structure as:

sitea.com was pointing to
/home/me/public_html/sitea

siteb.com was pointing to
/home/me/public_html/siteb

On my new server, I have root permissions and used Plesk to create two domains sitea.com and siteb.com . Now plesk asks for a user to be created for each domain, so created usera and userb for sitea and siteb respectively.

Now as root on my server I created the dir /home/me/ and untarred the whole backup from old server to new server and I have dirs :

/home/me/public_html/sitea and /home/me/public_html/siteb

In apache configuration in file:
httpd.include_sitea under
dir /var/www/vhosts/sitea.com/conf/httpd.include

I changed the document root to /home/me/public_html/sitea

So I thought I am all set. But it does not work. When I try sitea.com in the browser it works but for all subdirs, for eg sitea.com/images it says Access denied.

This is because the dirs I created are owned by root.

So the owner of /home/me/public_html/sitea needs to be usera for this to work ?

Again for siteb to work I need to change the owner of /home/me/public_html/siteb to userb ?

This will be painful ? At least I should be able to change the owner of /home/me/public_html/ to one owner and ensure all sites under that work fine. How do I do that ?

I think the problem is clear by now. Its that I want all my sites to work off from .../public_html/ sub dirs.

View 2 Replies View Related

Apache :: Multiple Virtual Host On RP Doesn't Send The Right Certificate

Jul 16, 2014

I am using apache as a reverse proxy, I have several site with http and everything is working fine. For the first time I have tried to configure with https port 443 with certificate, the problem is that it doesn't return to the browser the certificate that I have indicate in the "virtual host" but rather the default certificate of the site.

Here is my virtual host :

<VirtualHost *:443>
ServerName hygie.sante-idf.fr
SSLEngine on
SSLProtocol all
SSLCertificateFile "/root/apacherp/cert/hygiesslcertificate.cert"
SSLCACertificateFile "/root/apacherp/cert/hygieCAcertificate.cert"
SSLCertificateKeyFile "/root/apacherp/cert/hygieprivate.cert"
ProxyPass / http://XXXXXX/
ProxyPassReverse / http://XXXXXX/
</VirtualHost>

Everything is fine when I start stop, I m sure the entry is used I have added : NameVirtualHost *:443

But the Certificate information arent the one that I have enterred , but the default values I think....

httpd -v
Server version: Apache/2.2.3
Server built: Mar 4 2010 09:57:54

View 7 Replies View Related

Parsing EML Files On Apache

Jul 25, 2008

to open EML files on apache webserver, actually when I load an eml (outlook email message) by using an URL, it shows the email code, it is not pasing it correctly.

What libraries (apache or system) do I need installed to parse this kind of files?

Im using apache 2.0.6.3, php 5.2.6 and RHE 5.2

View 3 Replies View Related

Apache Not Recognizing My .php Files

Jun 29, 2008

Yesterday I was told by my hosting provider that my machine was at kernel panic, so they restarted it and I restarted my webserver (Apache).

I created a sub folder as I wanted to install a PHP script, so I created the folder using FTP and uploaded all of the script files.

The problem is, when I now visit that URL, my browser is asking me to download the .php file instead of the webserver executing it:

[url]

My web host said this:

it sounds like you aren't loading your php module library in your apache.conf and/or not associating the .php extension.

View 5 Replies View Related

Where Are Previous Apache Log Files?

Apr 21, 2008

log file for one of our accounts.

I going to /usr/local/apche/domlogs and but in this folder I can found logs for today only.

How can I found previous log files?

View 2 Replies View Related







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