Apache :: Looking To Update Entire Webserver Configuration

Dec 2, 2013

production looking to use latest version of apache from apache lounge:

Apache 2.4.7 Win64

Which version of PHP is recommend?
Which version of WinCache is recommended?
Which version of mysql is recommended?

I've looked into WinCache how to install it and hook it up to php, but i'm guessing you add the extensions in the php.ini?

View 5 Replies


ADVERTISEMENT

Apache :: 301 Redirect For Entire Directory

Jul 16, 2004

I renamed a folder. How I can write a 301 redirect in .htaccess to redirect every file in that folder to the new folder?

View 14 Replies View Related

Apache :: Allow Access From Webserver - Block From HTTP

Mar 13, 2015

I want to run an HTML webpage that accesses an MP3 resource that's also on my website. However, I only want the webpage to have access to the file and block access from those attempting to access the file directly. That leaves me with two options:

1. Block access through the Apache configuration so that only my Webserver can access the resource, or

2. Hide the URL in the code.

How I can go about doing this?

View 1 Replies View Related

Apache :: Website Migration To New / Identical Webserver

Sep 12, 2013

I moved a tomatocart website with its database, www-root. + keeping all its file and folder permissions.The username on the new server is the same, same id same name same permissions ect. The database name is the same the passwords are the same, location of www-root server same.

The website works it fetches and stores in the mysql database.At the old server with the same tomatocart website you could browse to example domain. ex/1-catagory-bananas and you would see a nice grid of bananas you can order. But there is no folder 1-catagory-bananas on the old or new server you just stay on the index.php but the url goes exampledomain.ex/1-catagory-bananas and the viewed website reloads

On the new server with the same URL i get a "NOT FOUND /1-catagory-bananas ect."so the website works perfeclty on the new server?

View 1 Replies View Related

Apache :: Which Webserver Values Have Biggest Impact On Website Load Time

May 1, 2014

On a webserver (apache, mysql, php), which values comes to your mind can have bigges impact on a website load time?

we talking about webserver which host like 100 websites, mostly a classic wordpress blog.

I have keep alive turned on. Now i want to do some test playing with various values of apache, php...

View 8 Replies View Related

Apache Virtual Configuration

Sep 12, 2006

Someone had mentioned a way to use virtual apache configs, this way you wouldn't have to reboot apache each time you add a new domain to your box.
Can you tell me what dso I need to use?

Also is there a conversion tool to grab the configs you have now, and migrate them to the external files?

View 4 Replies View Related

Apache Global Configuration

Oct 30, 2009

my server there it one site

but this site His alexa ranking of 7.000

i need Apache Global Configuration

StartServers = ?
and this
MinSpareServers = ?
and this
MaxSpareServers = ?
and this
MaxClients = ?
and this
MaxRequestsPerChild = ?

browsing heavily on the site, which lead to stoppage of the Apache

Server Information
Intel Core 2 Quad Q9550 2.83GHz
8GB Ram

View 4 Replies View Related

Apache Configuration Parameters

Nov 10, 2009

Is there any way to dump all of the current configuration parameters that apache is operating with?

I am clear on setting them in apache's config file. What I would like to do is view every parameter apache is operating with.

I am trying to troubleshoot what is believed to be an apache issue on one of my servers.

View 9 Replies View Related

Apache :: Configuration With SSL And Authentication

Dec 3, 2014

I have a couple of directories on my server that require authentication (MySQL DBD and AuthUserFile). Both work fine with SSL off. When I use SSL on directories without authentication that also works fine. However, when I put the 2 together, authentication is by-passed. I cannot seem to get the configuration right to do both. Here is my VH conf file (sanitized):

Code:

LoadModule dbd_module modules/mod_dbd.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
<VirtualHost *:80>
DocumentRoot "/var/www/html"
ServerName myhost.mydomain.com
ServerAdmin mailman-owner@mydomain.com
ErrorLog "/var/log/httpd/myhost_error_log"
CustomLog "/var/log/httpd/myhost_access_log" combined

[Code] .....

View 2 Replies View Related

Lighttpd And Apache Configuration For A Subdomain

Jul 2, 2008

I was recently inroduced to lighttpd being able to run on apache with a different port. So I setup my lighttpd that way.

lighttpd.conf

Code:
server.modules = (
"mod_access",
"mod_fastcgi",
"mod_cgi",
"mod_accesslog" )

server.document-root = "/var/www/vhosts/domain.com/httpdocs/lighttpd/"

server.errorlog = "/var/log/lighttpd/error.log"

index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm" )
and my httpd.conf

Code:
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /lighttpd http://0.0.0.0:81/
ProxyPassReverse / http://0.0.0.0:81/
Now when I created a folder on my server's httpdocs /lighttpd/

everything runs smooth so I got the lighty to work for me.

Okay now that i figure it works I wanted to run one of my subdomain on lighty so that I can reduce the load on the server. Does anyone know how I can setup one of my subdomain to open with lighttpd and keep everything else on apache?

View 1 Replies View Related

Apache Configuration Set Timeout Per Folder

Aug 18, 2007

I want to set the Timeout value bigger for a specific folder.

View 5 Replies View Related

Apache 1.3 Configuration Directives Found

Jul 10, 2007

After installing Zend with /scripts/installzendopt on a cPanel server I am getting the following:

Code:
root@comet [~]# apachectl start
/usr/sbin/apachectl: Apache 1.3 configuration directives found
/usr/sbin/apachectl: please read /usr/share/doc/httpd-2.0.52/migration.html
Virtualhosts look like this:

Code:
<VirtualHost [IP]>
ServerAlias [www.domain.com]
ServerAdmin webmaster@[domain.com]
DocumentRoot /home/fohrmann/public_html/[username]
ServerName [domain.com]

User [user]
Group [group]
BytesLog /usr/local/apache/domlogs/[logfile]
CustomLog /usr/local/apache/domlogs/[logfile] combined
ScriptAlias /cgi-bin/ /home/[username]/public_html/gb/cgi-bin/
</VirtualHost>

View 3 Replies View Related

20 Ways To Secure Your Apache Configuration

Dec 20, 2007

you can find a article to "20 ways to Secure your Apache Configuration" in this link:
[url]

I have a problem after change permissions :
chown -R root:root /usr/local/apache
chmod -R o-rwx /usr/local/apache

after run above commands when I trying to restart apache show me this error:
Warning: SuexecUserGroup directive requires SUEXEC wrapper.

View 0 Replies View Related

Apache :: 2.2.25 - Subdomain Configuration In Windows 7

May 4, 2014

In my computer (Windows 7 Ultimate) I host my sites with Apache 2.2.25 - mod_fcgid-2.3.6-win32-x86 and PHP 5.4.28. In "httpd-vhosts.conf" file from Apache I have my domain set as follows and work fine (http://www.example.com or http://example.com):

Code:
<VirtualHost *:80>
ServerAdmin webmaster@example.com
DocumentRoot "D:/Apache22/vhosts/Example"
ServerName example.com
ServerAlias www.example.com *.example.com

[Code] ....

And I set up a subdomain as follows:

Code:
<VirtualHost *:80>
ServerAdmin director@example.com
DocumentRoot "D:/Apache22/vhosts/DirectorExample"
ServerName director.example.com
ServerAlias www.director.example.com *.director.example.com

[Code] .....

But when I tried to access the page: http://www.director.example.com or http://director.example.com, I was redirected to the page http://www.example.com.

I have DNS configured for "example.com" and "director.example.com". This sites is live in another server.

Error.log files for "director.example.com" and Apache is empty. How can I configure the subdomain to work?

View 2 Replies View Related

Web BLAST Apache Configuration (Error 403)

Oct 8, 2013

I'm trying to run Web Blast 2.2.28+ locally trough Easy PHP Dev Server 13.1 (Apache 2.2, Windows 7), but when I click on search it shows ERROR 403 when I open it within my site or the following message appears (blast.cgi content), when I use directly the blast.html page:

#!/bin/csh -f # # $Id: blast.cgi,v 1.1 2002/08/06 19:03:51 dondosha Exp $ # echo "Content-type: text/html" echo "" #setenv DEBUG_COMMAND_LINE TRUE setenv BLASTDB db ./blast.REAL

View 3 Replies View Related

Apache :: Web Blast Configuration ERROR 500

Oct 9, 2013

I'm trying to run Web Blast 2.2.28+ locally trough Easy PHP Dev Server 13.1 (Apache 2.2, Windows 7), but when I click on search it shows ERROR 500 couldn't create child process: 720002: blast.cgi

View 1 Replies View Related

Apache :: Client Denied By Server Configuration

Jul 30, 2013

I am trying a webpage siremis whenever i try to login i am getting below error in error log of apache [client 192.168.137.7:4758] AH01630: client denied by server configuration: /opt/siremis-4.0.0/siremis/.htaccess

in httpd.conf following is the rule
Alias /siremis "/opt/siremis-4.0.0/siremis"
<Directory "/opt/siremis-4.0.0/siremis">
Options Indexes FollowSymLinks MultiViews

[code]....

i am using apache 2 and php 5.5.1 and mysql 5.6.12.

View 3 Replies View Related

Apache :: Configuration To Setup Password For Website

Jul 8, 2013

I want to setup a password for a website running on Ubuntu server, and find Apache can be used. It is implemented by config httpd.conf file and .htaccess file.

So I want to ask:

1. In this case, the password is setup for a path on the server configured in httpd.conf file. Like in the following example:

Code: <Directory "/var/www/html/MySite">

The password is setup for the path to Mysite,right?

2. If my content of website is not stored under /var/www folder, I cannot use this way to setup a password for website, right? May use PHP instead?

View 1 Replies View Related

Changing LimitRequestLine In Plesk Apache Configuration

May 16, 2014

I have to modify the two apache settings LimitRequestLine and LimitRequestFieldSize. Strangely, the setting has to be made to the first VirtualHost that gets loaded and it will then be changed for all virtual hosts. I don't understand why that's the case, but I was able to verify it works on a local test server.

But how do I find out which virtual host is loaded first? I tried with default of course, but that one isn't it.

Or how to make the setting to apache?

I run Plesk Panel 11.5 on Debian 7

View 2 Replies View Related

Apache Do Not Update

Aug 4, 2009

i enable Mbstrings and Soap in easyapache in Cpanel.
after 24 hours i restart my server and some things get eror.

tmp folder become read only.

easy apache give below eror :

Code:
Died at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 40.
and all site have eror for tmp and mysql.
i change tmp folder but some eror don't solved.

Code:
Can't create/write to file '/tmp/#sql_1f42_0.MYI' (Errcode: 30) SQL=SELECT m.*, sum(case when p.published=1 then 1 else 0 end) as cnt FROM jos_menu AS m LEFT JOIN jos_menu AS p ON p.parent = m.id WHERE m.menutype='mainmenu' AND m.published='1' AND m.access <= '0' GROUP BY m.id ORDER BY m.parent, m.ordering
Warning: Invalid argument supplied for foreach() in /home/music/public_html/modules/mod_tpmenu/tpmenu/dropdown/menu.php on line 127

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/music/public_html/modules/mod_tpmenu/tpmenu/dropdown/menu.php on line 150

this is mount command :

Code:
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,usrquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0)
and this is fstabs :

Code:
/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/usr/tmpDSK /tmp ext3 defaults,noauto 0 0

View 14 Replies View Related

Great Success, Apache Is Working After Subdomain DNS Configuration

Jun 26, 2008

So here's my situation: I have a rented vent server, that I wanted to point vent.mydomain.com to the IP of said vent server. I put an A record in the dns pointing to the server and all is well. When I type vent.mydomain.com into a browser it take me to the cPanel/WHM page saying "Great Success, Apache is working". Is it possible that I can somehow have that get redirected to the main site or no?

Basically if Im connecting with the vent client, I want it forwarded to the vents IP, otherwise I want to have it redirected to mydomain.com.

View 8 Replies View Related

Nginx As Apache Proxy For Static Content -- Configuration

Nov 23, 2007

I am a non-tech person trying to configure Nginx to serve static content (apache will remain on port 80 for the dynamic stuff).

Nginx is already installed, what I need is a workable configuration file for nginx so that it serves all static stuff (images and a few folders with static html) and instructions in how to create it. The server is running DirectAdmin panel, Apache 2.24, PHP 5.23 and XCache 1.2.

View 12 Replies View Related

Apache :: Cross-Origin Resource Sharing Configuration

Nov 26, 2014

We have following rule in httpd-vhosts.conf and it was working all ok.

All of sudden we have found on one day that it stopped working and we did some configuration tweak with this rule but none of them worked.

During troubleshooting, last change was disabling mod_security and after that it started working again. However, next day we had again enabled mod_security to get issue replicated but found it working all ok.

Any clue for such behaviour of Apache ? Why all of sudden following working rule may get stopped working and then starts working again ?

<IfModule mod_headers.c>
SetEnvIf Origin "https://(www.)?(v1.abc.com|v1ak.abc.com|v2.asite.com)$" AccessControlAllowOrigin=$0$1
Header Set Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin
Header Set Access-Control-Allow-Credentials "true"
Header Set Access-Control-Allow-Methods "GET, POST, OPTIONS"
Header Set Access-Control-Allow-Headers "origin, content-type, accept, X-Requested-With"
Header always unset Expires
</IfModule>

OS and Apache Version details are below:

Apache Version :2.2.27(win32), OS: Windows 2008 R2, ModSecurity Rule Set ver.1.5

View 1 Replies View Related

Apache :: AH01797 - Client Denied By Server Configuration

Jun 5, 2014

I've a Wordpress Blog on a Ubuntu 13.10 server with Apache 2.4.2.

For only one page on this site I've this error and can't find a solution.

View 15 Replies View Related

New Configuration Files For Apache Web Server Were Not Created Due To Errors

Jun 30, 2014

After upgrade to Parallels plesk v 12.0.18 update #5 we were getting a blank screen. We have managed to get logged into the server but have errors - plus all the websites are down with a 404 error Apache Server at gardenbuildings.domainame.co.uk Port 443.

On the Plesk management it is showing: New configuration files for the Apache web server were not created due to the errors in configuration templates:

mkdir: cannot create directory `/var/www/vhosts/system/domainname.com/conf': No such file or directory mktemp: failed to create file via template `/var/www/vhosts/system/domainname.com/conf/httpd.conf.XXXXXX': No such file or directory Can not create temporary file .

Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

Also when trying to resolve the issues and generating all configuration files I am getting this error:

Unable to configure the web server: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-domains [1] => addisonousebank.co.uk,blog.addisonousebank.co.uk,garages.addisonousebank.co.uk,

[Code] ....

View 2 Replies View Related







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