Apache Not Working

Mar 2, 2007

I am currently using cPanel 11.0 E360 build.
Apache 1.6.9

This morning, I used the "Modify Apache Memory Usage" , as suggested by csf/lfd.

However once it is installed, my Apache can not be started/restarted.

Is there a way to uninstall the Apache MemLimit script?

View 7 Replies


SSL Not Working On Apache 2

Nov 19, 2007

I have Fedora Core 6 with Apache 2. Im trying to generate a local SSL certificate but the folders ssl.key and ssl.crt are missing from the /etc/apache/conf folder. I installed mod-ssl and openssl and still same issue. What am I missing? Im installing everything through yum. I searched the whole drive and there is no folder called ssl.key or ssl.crt anywhere on the system. And right now I cant get port 443 work via the virtualhost config in httpd.conf:

NameVirtualHost *:443

<VirtualHost *:443>
DocumentRoot /var/www/html/mainsite
ServerName mainsite.com

After restarting apache and going to the mainsite via https it gives me the normal this is not a trusted certificate, I click ok and it takes me to /var/www/html/ instead of /var/www/html/mainsite. I was assuming because I dont have ssl setup correctly.

View 3 Replies View Related

Apache :: Not Working

Jul 8, 2013

I run mac os x mountain lion and have been using apache for at least a week now. But, out of no where, when i tried to acces my index page on, i get this error : "Oops! Google Chrome could not connect to". I've looked into my httpd.conf file and everything seems to be fine.

View 5 Replies View Related

Apache Is Working But Can't Login To Whm

Mar 7, 2008

I have a problem with my server: all my websites are shown correctly but when I try to login to the website's cpanel I get an "Unable to connect" page.

I tried to restart named and httpd but still no results.

If I restart my server I know that it will be fixed but I would like to see what I can do before restarting the whole server

View 3 Replies View Related

Ftp Not Working After Moving To Apache

Oct 5, 2008

to running my on vps it running on lxadmin i was running on lightptd

but i move to apache beacuse i need it for mod_write

but now i cant login to my ftp

i get this

Error:Cannot establish FTP connection to an SFTP server. Please select proper protocol.
Error:Critical error
Error:Could not connect to server

View 8 Replies View Related

Apache Not Working With This Error

Apr 2, 2007

*** glibc detected *** double free or corruption (fasttop): 0x09f9f508 ***
*** glibc detected *** double free or corruption (fasttop): 0x0949e508 ***
*** glibc detected *** double free or corruption (fasttop): 0x08a8b508 ***

What does this mean>? i tried rebooting and restarting.. but no go..

View 2 Replies View Related

Cron - Not Working - Apache

Jul 4, 2007

I did not realize the significance of the Apache sub-forum. I thought perhaps this would be a more general Server management query, but I realize now I should have posted in Apache forum.

I have been banging my head against the wall for the last couple of days trying to get cron jobs working. It's actually making me quite depressed, a lot of people are waiting on me to get this working, and for the life of me I see no light. I'm not a stupid person, i'm a PHP developer, and have some linux skills. This is the single most annoying issue I have had to deal with simply because I cannot find any troubleshooting methods to my issue.

I have tried every different combination of command under the sun and I cannot get any sign that the cron is running the commands.

I own a "virtual" dedicated server with a hosting company, I have full root access. Linux / Apache

The script file is a PHP file which simply mail() an email saying that cron is working, I am yet to receive this mail that was executed by cron.

I have ensured there are no errors in this simple PHP file, I have executed the script from the shell and all is well there..

So, firstly I tried to setup the cron table from CPanel, on the account where the script resides.

I used the following command combinations:
0-59 * * * * /usr/local/bin/php /home/username/public_html/cron.php
0-59 * * * * php -q /home/username/public_html/cron.php
0-59 * * * * php /home/username/public_html/cron.php
0-59 * * * * cd "/home/username/public_html/"; php cron.php
0-59 * * * * wget [url]
with time combinations of:
* * * * *
to get the command to be executed evey minute, for testing purposes.

All these commands work fine when executed through the shell.

I set the mail address for cron output to be my mail address also.

I do not get any mail from cpanel with an overview of the cron executions.

I then gave up trying to get cron to work on that account, and decided to go root.

I logged into the shell via root, checked the cron table for root. I edited the root cron table (that contains commands for various cpanel scripts etc) to include a command to execute the php script, even with the script residing on the root directory.

I also added MAILTO="myemail@email.com" to the first line of the cron table.

I do not get any emails of the cron actions.

How can I check if the cron scheduler is working when I get no sign that the cron commands are being executed, and when I do not receive any cron emails? What methods are there for me to troubleshoot this issue?

Could it be possible that cron shedular is not active on my server?

I have lurked the net with great detail to find any method to troubleshoot my issue, and all the related pages I find are to do with troubleshooting the commands. I know my commands are fine, there is some other issue here.

View 2 Replies View Related

Apache :: Removing Www And PHP Not Working

Dec 10, 2013

So I insert following code in my apache.htaccess file in order to remove www and php.This is my whole file

ErrorDocument 500 /500.phpErrorDocument 404 /404.php# force non-www domainRewriteCond %{HTTP_HOST} ^www.example.com$ [NC]RewriteRule (.*) http://example.com/$1 [R=301,L]#RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ $1.php [QSA,L]

View 1 Replies View Related

Apache :: Docroot Not Working

Feb 27, 2014

I am on the move from Windows 2003 to SLES 11. Bit by bit I get the system up and running and to do, what my windows server is yet doing for me.I have a question about apache's default docroot. I possibly have messed up my installation in some way.

The default docroot is still /srv/www/htdocs according to webmin and yast.I have a virtual host in the directory /srv/intranet.I have installed phpMy Admin in /srv/www/htdocs/phpMyAdmin

Now. My Intranet is working fine - no problem.

Then I have managed to get php running and through doing this, I have found out, that every http request to my apache server ist redirected to my intranet. Therefore I cannot use http://server/phpmyadmin to get to the login page of phpmyadmin - this attempt results in "object not found"

To get to the bottom of it I have created another virtual host pointing directly into phpmyadmin's directory to see wether phpmyadmin ist working at all - and it does!

So I have created an info.php with the usual "phpinfo()" in it and found out, it is only accessable and working if I place it anywhere in the directory of my intranet.

If I place it in /srv/www/htdocs (where I would like it to live...) and try to access it through a browser by typing http://server/info.php it results in "object not found" I have asked Dr. Google lots of questions about it, and I came across quite a few hints and tips and followed them. But so far everything seems to be configured the right way but still apache is misbehaving...

View 2 Replies View Related

Apache :: 301 Redirect Not Working

Jul 29, 2013

I'm having trouble getting a Redirect to work. I'm doing a remake of an old site that I did over 10 years ago and I'm going to need to do a lot of redirects once I change over, but I wanted to test it out to make sure I know what I'm doing before I get rid of the old site. My current old site is www.antstuff.net. I will be keeping the same domain when I change, but it's current url naming system is different from the program I use now (Joomla). It's current url syntax goes like: www.antstuff.net/html/ant_farm.html Whereas the remade Joomla site will simply be www.antstuff.net/ant-farms . I don't want to lose all of my inbound links so I'll need to redirect every old page to the new pages right?I wanted to test it first to see if I could get a redirect to work so I added a line to my .htaccess just to try and redirect from one page to another.

Redirect 301 /html/ant_farm.html http://www.antstuff.net/html/queen_ants.html

Nothing happens. It does not redirect to a different page at all.Also, there is a bunch of other crap in my .htaccess file that has built up over the years. Could that mess anything up?

Update: Interesting thing happened. When I went to submit this post, I got an error that said that there is a redirect in the url that I entered, please use the destination url instead. So I removed the line of code from my .htaccess before submitting. Nevertheless, nothing happens when visit that particular page. It's supposed to transfer me to the other page right? 

View 2 Replies View Related

Apache Is Working On Your CPanelŽ & WHM Server

May 26, 2007

I was changing IP Addresses on one of my domains on my VPS to a spare fresh IP.

Since doing this, my DNS hasn't fully propgated, so I'm then facing this message.

Apache is working on your cPanelŽ and WHM™ Server

Now my question is, how do I change this default green Cpanel page? Could I swap it with my own page?

View 5 Replies View Related

Apache :: SSL Requests Stop Working After A While

Sep 29, 2013

I have Apache 2.4.2, OpenSSL/1.0.1c, on Windows Web Server 2008 R2 (64 bits)

After 12 hours of heavier load, the SSL requests stopped working/being answered. However if you requested the same page via http instead of https, it worked fine. Restarting the Apache server fixes this, for a while. Again after a few hours of traffic, the https requests stopped working again. I checked the logs, and nothing notable, the mod_ssl entries just...

The site is called only by client developed with Delphi 2007 (CodeGear user-agent). Delphi client use THTTPRIO for sending HTTPS request to SOAP.

View 9 Replies View Related

Apache :: 2.4.3 - SSL Requests Stop Working After A While

Dec 13, 2012

So I just upgraded Apache 2.2.22 to Apache 2.4.3 and made sure to go through all the options that had changed and update the conf file accordingly. This included adding the cache module for SSL and changing the SSLMutex option over to Mutex default ssl-cache. We also turned off SSLCompression due to the CRIME attack vulnerability.

We use apache strictly as a loadbalancer to 2 tomcat servers via mod_jk. Apache serves no static content at this time.

After being deployed, everything worked fine until later in the day. After 3 hours of heavier load (our site only takes significant traffic during business hours), the SSL requests stopped working/being answered. However if you requested the same page via http instead of https, it worked fine.

Restarting the Apache server fixes this, for a while. Again after a few hours of traffic, the https requests stopped working again. This time I turned the loglevel up to debug and restarted the Apache server.

As traffic slowed down it took another 6 or 7 hours before SSL requests stopped working again. I checked the logs, and nothing notable, the mod_ssl entries just... stopped. (I don't know for sure its ammount of traffic related, it just seems that way)

I have tried reproducing this in a lab, but have not been able to get it to happen on the lab server.

OS: Windows Server 2008 R2
Apache: 2.4.3 vc9 build with OpenSSL 0.9.8 downloaded from apachelounge.org
Mod_JK Version 1.2.37 vc9 also downloaded from apachelounge.

View 10 Replies View Related

Apache :: Facebook OAuth Not Working (sometimes)

Jul 30, 2013

I have a really weird problem with using facebook authentication (OAuth 2.0) for a node.js driven website. I am using passport.js as authentication middleware.

I am running the express.js server behind an apache using the following rewrite rules (my .htaccess file):

RewriteEngine On

RewriteCond %{HTTP_HOST} =mydomain.com [OR]
RewriteCond %{HTTP_HOST} =www.mydomain.com
RewriteRule (.*) http://localhost:62666/$1 [QSA,P]

The weird thing is, i can login via my facebook account, my client can't. It yields an internal server error with no error_logs appearing.

On my old server I solved this problem by increasing the buffer size of ngnix (which seems odd), so I figured it has to be a http-server issue. The use of nginx is absolutely no option on my new platform, nor is increasing the buffer size. I'm really kind of lost here.

View 1 Replies View Related

Apache :: 2.2.22 Not Working Via HTTP Only Via HTTPS

Mar 3, 2015

I'm using a turnkey image for smallmachineforum system, installed on amazon aws instance.

In the default configuration I can't use the http version of the site, only the https.

It does not seem to be a network issue, a telnet on port 80 opens.

The server is apache version 2.2.22, on a Debian 3.2.57-3+deb7u2 x86_64

View 2 Replies View Related

Apache :: HTAccess File Is Not Working?

Feb 20, 2014

I want to upload the custom 404 error page and .htaccess file to my website but .htaccess is not working on my web server. I have use the correct file name and try it many time but no result I have found. My web server is Microsoft IIS 7.5

View 2 Replies View Related

Apache :: Rewrite Is Not Working For Locations

Nov 22, 2013

After a few years with apache 2.2 I decided to try apache 2.4 Both are running on windows 7. I had to recompile my modules against the new api, but that was succesful. I am now confronted that the rewrite rule for one of my locations :

View 11 Replies View Related

Used Apache Update/some PHP Scripts No Longer Working

Jan 26, 2008

Having some issues here, I used Apache Update to install WHMCS as I didn't have Curl installed. Well had some issues using the username and password as it couldn't connect to the database, my modernbill and phpnuke scripts still work but some other scripts like joomla, some shopping cart software, and other MYSQL scripts are not working.

I've run test scripts to see if I can connect to the database, got the following error with the PHP test script

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'data_invoice'@'localhost' (using password: YES) in /home/data/public_html/test2.php on line 4
I cannot connect to the database because:Access denied for user 'data_invoice'@'localhost' (using password: YES)

Also attempted it in SSH and getting a similar error that access is denied. Username and password are correct. I believe I upgraded PHP which my guess is what caused this. I've searched the forum for a few solutions and I had the problem in the past which I fixed it, but it's been a while.

View 10 Replies View Related

Apache :: SSL Working With 2003 Server But Not With 2008R2

Jan 17, 2013

I have strange problem configuring Apache SSL on windows 2008R2 server.I have Application WAR file deployed on windows 2003 and 2008R2 servers on weblogic 10.3.5. Now am configuring Apache as web server with SSL(using openssl).

Apache version: httpd-2.2.22-win32-x86-openssl-0.9.8t.msi

I have added the mod_wl_22.so into modules folder.My requirement is


So SSL is only till apache.

I have generated a self signed certificate using openssl to test this setup.I installed apache on windows 7 machine and configured the SSL.

If i point the location to the deployment done on 2003 server, SSL works fine. But if i point the deployment to 2008R2 then i get the Application login page. From there if i click on any link it just gives the login page again. But in the Apache access logs i can see the request is going but response is either 301,302 or 404.

I configured Apache SSL on 2008R2 where weblogic is installed. Got the same problem.To confirm the weblogic deployment is working correctly, i accessed the direct weblogic url and application works perfectly fine on both 2003 and 2008R2 servers.Here is my apache ssl configuration

I just modified the httpd-ssl.conf file to below settings.

<VirtualHost *:443>
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
ServerName local.test.com
ServerAdmin admin@test.com
ErrorLog "C:/Program Files/Apache Software Foundation/Apache2.2/logs/error.log"
TransferLog "C:/Program Files/Apache Software Foundation/Apache2.2/logs/access.log"


I checked the inbound and outbound rules for 2008R2 for port 80 and 443. Nothing is blocked. Infact firewall is disabled on both the servers.

View 3 Replies View Related

Apache :: Reverse Proxy - Some Parts Of App Not Working

Oct 12, 2012

I am trying to set up a reverse proxy to the application Surveillance Station on my Synology NAS. Altough the reverse proxy works ok for other apps like Webadmin, Download Station and such, parts of the Surveillance Station app do not work, particulary the Live View & Time Line.

From the logs, I suspect an authorisation problem (because of the 401), but I'm not sure. I have tried ProxyPreserveHost on, ProxyVia full, and some rewrite rules, but I'm not sure what I'm doing Direct access to the port of the app works (i.e. 83.xxx.x.xxx:9900), so i know it has something to do with the reverse proxy.

a snippet of my httpd-vhost.conf-user:

View 1 Replies View Related

Apache :: HTAccess Mod Rewrite Get Variables Not Working

Sep 7, 2013

I'm trying to rewrite the urls across a site I'm developing, which pass get variables like the following:

would look like:

The first link in the htaccess file works fine, but the following ones don't (whatever the order, the first one works). I'm attaching a snippet of the file here:

# http://localhost/html/content_quiz/quiz-results.php?quizid={number}# to# http://localhost/results/quiz/{number}RewriteRule ^results/quiz/([0-9]+)/?$ /html/content_quiz/quiz-results.php?quizid=$2 [NC,L]# http://localhost/html/content_pages/results.php# to# http://localhost/resultsRewriteRule ^results/?$ /html/content_pages/results.php [NC,L]# http://localhost/html/content_quiz/grade.php?quizid={number}# to# http://localhost/quiz/{number}/gradeRewriteRule ^quiz/([0-9]+)/grade/?$ /html/content_quiz/grade.php?quizid=$3 [NC,L]

View 1 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

Apache :: Local Authentication Is Not Working When LDAP Is Offline

Jan 10, 2014

Im having a problem where local authentication will not work when when the configured LDAP server is unavailble. When the ldap server is online I can authenticate fine against ldap and local file. However, when the ldap server is offline, I cannot authenticate with the user1 account. The browser just sits at a blank screen.

Ive searched a lot on this and found many examples, all very similar to my config below, but I still cannot failback authentication to local file when ldap is unavailable. Im running Apache/2.2.10. I have also tested this on 2.2.16 with the same results.

AuthName "Server Access"
AuthType Basic
AuthBasicProvider file ldap
AuthUserFile /etc/apache2/htpasswd
AuthzLDAPAuthoritative off
AuthLDAPURL ldap://ldap.domain.com:389/OU=Users,DC=domain,DC=com?sAMAccountName


View 3 Replies View Related

Apache :: AuthType Digest Is Not Working Using Cold Fusion

Mar 6, 2015

I am getting an error : Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.'

<Directory "d:/srv/Apache2/htdocs/CFIDE/administrator">
AuthType Digest
AllowOverride AuthConfig
Order Deny,Allow
allow from all
DirectoryIndex index.php index.html index.cfm

[Code] ....

Why it is not working. When I put the password after 3 times it gives me the error...

View 2 Replies View Related

Apache :: Setting Up A Local Domain With Working Override

Feb 25, 2014

I'm trying to accomplish two goals: First, get "Pretty Links" to work on my local Wordpress instance; second, to set up a local domain for the site.I have a fresh install of Apache 2.4.6 running, and I'll I've done is enable the rewrite and vhost_alias mods. Nevertheless, here's my apache2.conf: URL....

I need to have AllowOverride set to All. This, I gather, allows .htaccess files within the subsequent directories to alter the apache config. To try one thing at a time, I'm accessing the site from localhost/var/www/dhae/Wordpress (foregoing the domain). I tried altering the 000-default.conf to oblige this: [URL] .... -- all I added was the <Directory> section. This didn't work, and neither did changing the AllowOverride to All in the apache2.conf.

I wondered if perhaps I needed something more specific to the directory, so I tried using my second goal to accomplish this. I wrote the dhae.conf: URL....

I've also added the following line to my HOSTS file: dhae.dev

This hasn't worked either. I've tried virtual host config stuff as much as I could find, and I'm just not having any luck. What I have even came from this site (URL....).

View 7 Replies View Related

Apache :: Mamp And Local Wordpress Install Not Working

Feb 11, 2013

I can't get MAMP to work. I sadly uninstalled and AppZapped MAMP and reinstalled it. Now I can't get WordPress to install. I can make a DB on PHP MyAdmin but I get "not found" when I try the WordPress install. I can't get the PHP info? line to work either. How do you troubleshoot MAMP? 

View 4 Replies View Related

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