How To Use Appache (HTTPD) With LXAdmin? Only Apache Homepage Shows, Not My Pages

Apr 30, 2009

I've got a VPS with XenSmart, and I'm running CentOS. Recently, I have been needing to redirect my users to 'www.', since if they don't put the 'www.' in front of the domain the vB forum doesn't run properly. Though, to do this, I edited the .htaccess file and was using the 'mod_rewrite' command, but this requires Apache.

So, on my VPS I've installed Apache, and set LXAdmin to use 'httpd' instead of 'lighttpd', though now my web pages wont show up and all I've got is the default Apache web page:

[url]

How am I able to use Apache (HTTPD) and have it load my current forum? My current forums hosted in:

/home/admin/public_html/vb

View 1 Replies


ADVERTISEMENT

Apache :: Redirect Any Specific Page Of Site To Homepage

Feb 19, 2015

How do i redirect URL: example.com/page1 to example.com..i want to redirect any specific page of my site to homepage.

View 3 Replies View Related

CPanel Shows Wrong Versions Of Apache And MySQL

Mar 5, 2008

I've a small reseller account with cPanel with 5 sites. After transfering to other host (full cPanel backup of old sites, restoring on new host) cPanel of 2 sites still displays the version number of the old host, the other 3 sites are correct.

CP1: correct - CP2: wrong

View 4 Replies View Related

Apache :: Website Shows Blank Page Randomly

Sep 22, 2013

I am trying to fix website [URL] .... I open the site like 20 times a day and like 2 times a day it shows blank page. Which logs I need to check or which tools to use? I have cpanel hosting, apache.

View 1 Replies View Related

Apache Serving Blank Pages

Oct 1, 2007

I am having this issue with a new box where Apache at random serves blank pages and won't serve anything but until it's restarted. I see no errors in /var/log/messages either to show why this is happening.

It's not all pages either just several various ones. I know it's not a programming issue either because the only thing the server is running is one instance of vBulletin.

I look at top during this and CPU and RAM usage are very low.

The only fix to get Apache to serve the pages is to restart it.

Anyone have any clues on what it could be?

I set my php.ini memory limit to a gig (I have 16 gigs in the sever)

View 1 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 :: Rendering Web Pages Progressively

Feb 17, 2014

I am delivering my php scripts from a new Apache server on CentOS delivering them only at the end of the loading. What is a pain, especially for pages being used by iOS apps just needing the xml section even if the script goes further, or when presenting information while they are generated.

View 3 Replies View Related

[Apache] Anyway To Stop Bots Trying To Find Pages

Apr 22, 2009

Looking trough my logs I found something that bothers me, there are bots who keep doing requests on my website with pages like /admin or /secure to find vulnerabilities.
It's making about 5-6 requests for unexisting pages every second until it comes to the end of it's dictionary (the pages are even sorted in alphabetical order,

Is there some way to let my Apache server block access to these bots when they make X attemps to see a page who does not exists in a short amount of time? A bit like iptables reject connection if someone tries to log in but fails to do so too many times.

View 6 Replies View Related

Apache :: How To Redirect All Pages To One Page Of New Directory

Aug 20, 2005

I'm hoping to redirect visits to any page in an old directory to the index page of a new directory.

In other words, redirect:

[URL] ....

[URL] ....

Is this possible? If so, how could I do it?

In my .htaccess I currently have:

Code :

RedirectPermanent /facts/ http://www.domain.com/newfacts/

but this only redirects the index page.

View 19 Replies View Related

Apache :: Web Server - Extreme Laggy Pages

Nov 21, 2013

I work for a company with a highly trafficked site (about 100,000 unique daily visitors). We have our "MANAGED" hosting through Rackspace for quite the pretty penny per month. It includes a dedicated back end / DB server and cloud servers for the front end.

The setup has been functioning perfect for 10 months now; but this past Monday the speed of the site immediately dropped. Page load times fell from 1-2 seconds to between 10-20 seconds, and sometimes not at all. As far as we know (and as far as Rackspace says), no server setting were modified. No new code was introduced on our end. It's a mainly static site, with minimal user interaction with the backend at all.

We've monitored the traffic, checked IPs, etc. We've even tunes down several site features in the interest of reducing server load. Upon a server reboot, the active threads/processes running on it IMMEDIATELY jump back up to maxed out levels. It seems like once our daily traffic reaches 10MB/s, a type of queue forms and the delays begin. Rackspace assures us that we're not limited to that.

Versions:
OS: cent OS on cloud
OS: Redhat on Dedicated Server
Apache: 2.2
PHP: 5.3 / MySQL: 5.1.69

Some more background info: The site is typically busiest from 7am until 3pm EST. For the past few days, we've noticed that between 7am and 9-10pm the server has just lagged incredibly. However, at around that 9-10pm mark, something changes and the pages go back to loading almost instantly. (There is still decent traffic though.) Then at around 7am again it slows to a crawl.

Rackspace has offered solutions such as spinning up another server and incorporating their load balancing - they are in the process of this BUT they do NOT think the traffic is the issue. At one point they actually said there was potential packet loss somewhere in the network, but no progress has been made.

View 2 Replies View Related

Apache :: All Of A Sudden Pages Don't Load Anymore

Jul 30, 2014

I've updated to Apache 2.4.10 from 2.4.9 and all of a sudden my pages don't load anymore.Previously I had this issue rarely and closing the PHP-cgi.exe processes fixed it.But since the update the issue happens almost constantly.

View 17 Replies View Related

Apache :: White Pages For Enabled Site And Localhost

Jan 7, 2015

I'm using Oracle's VirtualBox.My network on the virtual box is set to Bridged Adapter

apache/2.4.7
php 5.5.9
Linux/Ubuntu 14.04.1 LTS
No errors in my apache2 error.log file.

First time creating a server on a virtual box. I am not confident i understand how my computer browser access the virtual box server i created. Once i understand that i could fix my issue. Which is, I can't finding my enabled site or localhost via my browser on my computer. All i get is a white page for both. I don't even see the it works page.

I am following this book and got stuck on chapter 1: Understanding and Setting Up Our Development Environment.
link to book -- URL...

I have installed Oracle's VirtualBox, mounted Ubuntu, installed apache2 with $ sudo apt-get install apache2 -y. At this point everyone says, now go to your ip and you will see "It Works". Which i do not see. I see a white page with nothing on it. I then looked to see if the localhost /var/www/html/ index. html even exists. Which is does, i opened the file and i can see the line "It Works!".

My hosts file on my computer has ../driver/etc/hosts

127.0.0.1 localhost
192.168.56.1 magento.localhost.com

My hosts file on my Virtual box /etc/hosts

127.0.0.1 localhost
127.0.1.1unbuntu
192.168.56.1 magento.localhost.com

View 3 Replies View Related

Apache :: After Enable APC Pages Throwing Lots Of PHP Notices

Nov 24, 2013

I have installed APC on our Windows server. After I enable APC and restart apache our pages throwing Lots of PHP Notices.

Code :

System Windows NT 6.1 build 7601 (Windows Server 2008 R2 Web Server Edition Service Pack 1) i586Architecture x86Server API Apache 2.4 Handler Apache LoungeThread Safety enabledPHP Extension Build API20100525,TS,VC9Apache Version Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4Virtual Server Yes

View 2 Replies View Related

Apache :: Write HTAccess Rules For Dynamic Pages

Feb 15, 2013

I'm really struggling to write htaccess rules for dynamic pages. I've like 20 pages to redirect What I want to do is redirect:

[URL] ....
to
[URL] ....

View 10 Replies View Related

Reverse Proxy Apache ==> IIS, Need Custom Error Pages Triggered On IIS Side

Dec 3, 2008

I'm not sure if this is the right forum, or if anyone can suggest a message board where I might get support on this.

This is what I have. I have Apache and IIS both running on Windows 2k3.

Apache is running in reverse Proxy mode sending multiple domains/virtual hosts to IIS.

Code:

ProxyRequests Off
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass / http://localhost:8080
ProxyPassReverse / [url]
ServerName mydomain.com

</VirtualHost>
Now, if I type in [url]everything works great and IIS (listening on 127.0.0.1:8080) serves the page. However, I am doing custom error trapping, so when I type in [url](and /mydirectory doesn't exist on IIS) I need to fire ASP code (via custom error messages/handling) on the IIS server and then present a data driven page.

However, Apache is returning A 502 error:

Code:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /mydirectory.

Reason: DNS lookup failure for: localhost:8080mydirectory
Is there a way for me to setup Apache to pass all error checking to IIS while using it as a reverse proxy?

View 0 Replies View Related

Apache :: Forbidden 403s When Accessing Files / Pages On Mounted Device

Nov 18, 2014

So I have a script running on my apache that catalogs pictures and clips. All the actual video files are located on a separate drive which is mounted in to a folder in my site. I've set apache as the owner and have the correct permissions on the mounted folder but I'm getting Forbidden errors accessing files even when on html file in the mounted folder.

I know it's a permissions issue at the disk or mounting level. The way I mount is by using this command:

mount -t ext4 /dev/sdc /var/www/html/media

View 6 Replies View Related

Apache :: Automatically Make All PHP Pages Into HTML In Browser Using HTaccess Rewriting?

Jan 11, 2015

i have made my all pages with .html extension and hence my SEO is based on accordingly. Now i made some changes to htaccess that causes to not inclusion of header and footer pages (both are made with .php extension ). so i decided to change the extension of pages (.html to .php) and it wokrs. due to SEO and large number of pages i want all my pages .php (made later). to get converted automatically with .html in browser. so is it possible using .htaccess rewrite.

View 1 Replies View Related

Kloxo Vs LxAdmin ? (The New Face Of Lxadmin)

May 11, 2009

I rebuilt my VPS (again) today and noticed something different. Instead of the usual "Install LxAdmin" icon in HyperVM I read "Install Kloxo."

I looked at the demo and everything looked the same. Has anyone noticed any definite differences between the two? Has anything significant changed apart from the name?

View 3 Replies View Related

Cant Restart Apache Httpd

Aug 3, 2008

I am trying to restart my apache since i made changes to my php.ini file.

I tried using this command /etc/init.d/httpd restart which didnt work for me..any ideas guys? Its a basic dedicated server from a hosting company..

View 10 Replies View Related

Apache 2.2 And Httpd.conf

Mar 6, 2008

I recently updated to apache 2.2 and when I went to check

/usr/local/apache/conf/httpd.conf

I noticed that a lot of the stuff was missing from what I usually see in apache 1.3 Was a new file created when the update was finish? I used easyapache to make the update.

I was actually looking to change the

Keepalive
Timeout
MinSpareServers
MaxSpareServers
MaxRequestsPerChild
Etc...

But it doesn't look like it's in there.

View 2 Replies View Related

Apache 2 - Httpd.conf

Sep 15, 2008

how should I optimize httpd.conf on my server. Apache was set up by my friend, unfortunately it started to "stuck" lately during peak time. Browser is connecting to a website for a long time before it actually starts to load it.

My current setup:

Timeout 300
KeepAlive On
MaxKeepAliveRequests 300
KeepAliveTimeout 15
MinSpareServers 2
MaxSpareServers 5
StartServers 5
ServerLimit 650
MaxClients 650
Server:
Intel Quad-Core Xeon X3220 @ 2.40 GHZ
4x 2GiB Kingston ECC Not-Registred 667Mhz
2x 150GiB RaptorX 10k RPM, sw raid 1

View 12 Replies View Related

Apache Httpd.conf

Nov 10, 2007

tuning apache configurations, and would like to seek for some opinions on how I should optimize my httpd.conf

The server is primarily for downloads, serving file sizes that are around 100~200MB.

how I should configure my apache so it'll allow a better/faster/more stable environment?

Hardware Specs:
Intel Xeon 3220 Quad-Core (2.4Ghz)
2GB Ram

My current httpd.conf

ServerTokens None
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 20
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>

# worker MPM
<IfModule worker.c>
StartServers 4
MaxClients 500
MinSpareThreads 25
MaxSpareThreads 100
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

View 4 Replies View Related

Apache :: HTTPD Crashing On Its Own

Jul 12, 2013

httpd 2.4.4 x64 with php 5.5 x64 and mysql 5.6 x64, it worked just fine the first few days, but after a week or so, I'm starting to get this error:

[mpm_winnt:notice] [pid 1928:tid 552] AH00428: Parent: child process 8092 exited with status 255 -- Restarting.

What can cause that and how can I fix it?

View 2 Replies View Related

Apache :: Httpd Can't Access SSL

Sep 28, 2014

I can't reach my website, I get a "corrupted content" error message in the browser.Looking into apache (version 2.4.7), I get

Code:
~$ apachectl -S
AH00526: Syntax error on line 22 of /etc/apache2/sites-enabled/000-default.conf:
SSLCertificateKeyFile: file '/etc/ssl/private/owncloud.key' does not exist or is empty
Action '-S' failed.

However, I double checked that the file is in the appropriate location and does contain the key, so maybe apache has no permission. afaik, it doesn't run as root all the time - or only for a short time?

permissions for the key file are as follows:

Code:
~$ sudo ls -l /etc/ssl/private/owncloud.key
-rw-r--r-- 1 root ben 1704 Sep 28 04:01 /etc/ssl/private/owncloud.key

, where ben is my normal user.

It was suggested to me on the httpd IRC channel that maybe apparmor was doing something wrong, but I don't know how to investigate that.

View 6 Replies View Related

Apache :: Can Httpd 2.4.X VC10 And PHP 5.4.X VC9 Be Used Together

Mar 9, 2013

I did some googling and searching on Apache lounge forums prior to posting this question, but I didn't find a definite answer to whether is it ok to use Apache Httpd v2.4.X VC10

View 2 Replies View Related

Apache/httpd Wont Restart

Jan 25, 2008

I keep trying to restart Apache but it wont restart... I run a command line to restart it, but nothing happens. Here is what I have tried:

Quote:

-bash-3.1# chroot /home/fatehost.net/runtime_layeredpanel/
fatehost:/# /etc/
bash: /etc/: is a directory
fatehost:/# /etc/init.d
bash: /etc/init.d: is a directory
fatehost:/# /etc/init.d/httpd-users
Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/# /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 5955) already running
.
fatehost:/# /etc/init.d/httpd-users force-reload
Forcing reload of web server: Apache2.
fatehost:/# /etc/init.d/httpd force-reload
Forcing reload of web server: Apache2.
fatehost:/# /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 13475) already running
.
fatehost:/#
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/# /etc/init.d/httpd-users stop
Stopping web server: Apache2.
fatehost:/#
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/#
fatehost:/# sudo /etc/init.d/httpd-users stop
bash: sudo: command not found
fatehost:/# su root /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 20391) already running
.
fatehost:/# /etc/init.d/httpd-users reboot
Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload
fatehost:/# reboot
WARNING: could not determine runlevel - doing soft reboot
(it's better to use shutdown instead of reboot from the command line)
shutdown: timeout opening/writing control channel /dev/initctl
init: timeout opening/writing control channel /dev/initctl
fatehost:/# WARNING: could not determine runlevel - doing soft reboot
bash: WARNING:: command not found
fatehost:/# (it's better to use shutdown instead of reboot from the command line)
> shutdown: timeout opening/writing control channel /dev/initctl
> init: timeout opening/writing control channel /dev/initctl
>
fatehost:/# /home/fatehost.net/runtime_layeredpanel
bash: /home/fatehost.net/runtime_layeredpanel: No such file or directory
fatehost:/#

View 6 Replies View Related

Apache Httpd Service Crashing

May 17, 2008

It's been happening on both my old and new server, was really hoping this would be fixed.

Basically, the httpd/apache service crashes or goes down making domain names and sites unable to load; although cPanel/WHM still accessible. This would go on for about 5 minutes OR until I restart httpd in root.

sites simply do not load or just timeout after a period of time.

This has become extremely annoying for both me and my clients because it makes it seem like we have downtime.

View 11 Replies View Related

My Apache Any 1h Going To Down And I Force Run Restart Httpd

Oct 22, 2007

i ask of cpanel.net that why : my apache any 1h going to down and i force run restart httpd

cpanel :
Howdy,

This is occurring because your server is consistently hitting the maximum
allowed concurrent connection limit, defined by MaxClients in httpd.conf:

[root@part7 ~]# grep MaxClient /usr/local/apache/logs/error_log | tail -5
[Mon Oct 22 13:07:46 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 13:32:03 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 14:03:29 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 14:16:07 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 16:48:36 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[root@part7 ~]#

You will need to adjust this setting to a value which better accommodates your
server to prevent any further downtime.

View 5 Replies View Related

Apache: Httpd Not Running, Trying To Start

Jul 22, 2007

Code:
[root@serwer /]# httpd restart
/usr/sbin/httpd restart: httpd not running, trying to start
/usr/sbin/httpd restart: httpd could not be started

Code:
[root@serwer /]# httpd status
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile [url]

View 14 Replies View Related

Apache :: Httpd Do Not Response Occasionally

Jun 16, 2014

My development environment is:

OS: Windows 2003 SP2
Httpd: 2.4.9
JDK: 1.7.0_60
Tomcat: 7.0.45
mod_jk: 1.2.40

When I deploy my application into tomcat, and bind httpd with AJP, httpd do not response occasionally, it will halt 2-3 minutes. The quickly way is restart httpd

View 1 Replies View Related







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