Apache :: ProxyPass 503 Errors With Local Host

Feb 28, 2013

It seems with the latest version of 2.2.24 I've had to change the ProxyPass address in http-virtualhosts to the actual address of the web server itself (Websphere / tomcat) and not the reversproxy (Apache). It seems like originally we had it looking like this more or less: ProxyPass / ajp://localhost:8009 but now have ProxyPass / ajp://webserverip:8009 and it's working that way. Which way is correct and if this isn't the correct way how do I fix this? I was getting 503 errors when it was connected to localhost (along with ajp errors) but I was able to telnet to the webserver on 8009 successfully.

View 3 Replies


ADVERTISEMENT

Apache :: ProxyPass Has A Space Will Not Start With A Space

Sep 19, 2013

Apache 2.2.25 on windows 32

I have a ProxyPass that looks like

ProxyPass /Share Documents http://partner2/Shared Documents/

But Apache will not start with spaces. I tried

ProxyPass /Shared%20Documents http://partner2/Shared%20Documents/

Apache would start but the passthrough doesn't work. What do I need to do? I have several url's with spaces.

View 3 Replies View Related

Apache :: Capturing Internal Apache Errors Return Custom HTTP Status

Nov 15, 2013

Server Version: Apache/2.2.22 (Unix)

On our production service, we've been getting numerous malformed POST requests to some of our CGI scripts that are showing up as 500 errors in our logs. They are malformed in the sense that the actual content length doesn't match the Content-Length specified in the request.

Here's the most trivial example I can come up with that reproduces the problem for us:

POST /some_valid_alias HTTP/1.1
Host: example.org
User-Agent: Arbitrary/1.0
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 769
-----------------------------41184676334

In addition to the 500 error in the access log, we see the corresponding error in the error log:

(70014)End of file found: Error reading request entity data

Based on the nature of the POST request and the error response, it does appear that Apache is doing the right thing here.

The POST never actually makes it as far as the script being targeted (/some_valid_alias in the above example); in other words, Apache returns 500 to the client, writes the error to the error log and never executes the script.

Is there a way to capture/avoid internal Apache errors like 70014, and return some other HTTP status besides 500 (like 403)? It's particularly annoying in our case, because our server sends us an email for all 500 errors.

So far, our best "defense" against these 500 errors is to disallow POST for these aliases, which normally just ignore the POST data anyway (when the request is not malformed):

RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule ^/(some_valid_alias)(.*)$ $1$2 [R]

But this won't work for all our scripts, because in some cases we do want to permit POST.

View 2 Replies View Related

How To Make Sub Domain On Your Local Host

Aug 11, 2007

I added new sub domain name using cpanel on my vps server.

Now I need to create this sub domain on my localhost, so i can test everything before I upload them.

View 0 Replies View Related

R=lookuphost Defer (-17): Lowest Numbered MX Record Points To Local Host

Aug 16, 2008

I am getting the following error message..

R=lookuphost defer (-17): lowest numbered MX record points to local host

View 4 Replies View Related

Apache Log Errors

Oct 30, 2009

i have the blog [url]

Whenever am trying to post anything there server load increse upto 90 and Post takes so much time to publish.

and at that time sometime am getting this error

Error establishing the database connection

Here is the screenshot of the Cpanel stats:

[url]

and am getting these error in my apache error logs

[Wed Oct 28 19:46:19 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/webadmin
[Wed Oct 28 19:46:19 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/myadmin
[Wed Oct 28 19:46:18 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/mysql
[Wed Oct 28 19:46:18 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/mysqlmanager
[Wed Oct 28 19:46:17 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/sqlmanager
[Wed Oct 28 19:46:17 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/admin
[Wed Oct 28 19:46:16 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/PMA
[Wed Oct 28 19:46:16 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/web
[Wed Oct 28 19:46:16 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/db
[Wed Oct 28 19:46:15 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/phpMyAdmin
[Wed Oct 28 19:46:15 2009] [error] [client 222.103.225.163] File does not exist: /usr/local/apache/htdocs/phpmyadmin

View 14 Replies View Related

Apache :: Local Server Works Once And Then Won't Again

Oct 3, 2013

I found a socket available other than 80 which would not allow me to use. I set it in the conf file as 1800 and then go to apache/bin directory and load httpd.exe. When I go to the browser, I have to type in http://localhost:1800 for it to work once. If I close the browser and try again, or I try a php file, it says it can't find localhost. I have to stop httpd.exe and reload, then it will work once.

Do I have to find a way to use socket 80 for it to work?

View 2 Replies View Related

Apache Errors / Down Server Seems Busy

Apr 20, 2008

Tailed apache logs and found this:

[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10308 for (*)
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10309 for worker proxy:reverse
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10310 for worker proxy:reverse
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10309 for (*)
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10310 for (*)
[Sun Apr 20 08:29:35 2008] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 2 idle, and 45 total children
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10311 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10311 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10312 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10312 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10313 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10313 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10314 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10314 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10315 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10315 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10316 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10316 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10317 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10317 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10318 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10318 for (*)

What on earth is all these proxy_util.c errors?

Also, I could not find any details in the httpd.conf file regarding StartServers, or Min/MaxSpareServers.

I'm using Centos 4 / Apache 2.2 / PHP 5 / Cpanel

View 4 Replies View Related

Apache Errors Since Last Months... Here Is The Log Data

Feb 11, 2007

[Sun Feb 11 18:04:25 2007] [notice] SIGUSR1 received. Doing graceful restart
[Sun Feb 11 18:04:25 2007] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Sun Feb 11 18:04:25 2007] [warn] NameVirtualHost XX.XX.XXX.X:80 has no VirtualHosts
[Sun Feb 11 18:04:25 2007] [notice] Apache/1.3.37 (Unix) PHP/4.4.4 FrontPage/5.0.2.2510 mod_ssl/2.8.28 OpenSSL/0.9.7a configured -- resuming normal operations
[Sun Feb 11 18:04:25 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sun Feb 11 18:04:25 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)

I really dont know much about this restarts but it happens every 2-3 hours and I loose a lot of valuable customers.

View 1 Replies View Related

Apache :: How To Display SSL / TLS Errors In Log Files

Feb 28, 2014

I have installed Apache httpd and setup a SSL/TLS connection. SSL/TLS is working without a problem. I can clearly see httpS address in browser.

What I have found out that if browser gets some SSL/TLS error like trying to establish SSL/TLS connection with old protocol and web server refuses connection there is no error in SSL/TLS log recorded. I would like that every SSL/TLS attempt with error is recorded in ssl_error.log file. How to define settings in Apache config files to enable SSL/TLS error logging?

View 1 Replies View Related

/usr/local/apache/bin/httpd -k Start -DSSL

Jul 29, 2009

When I look at my Current CPU Usage / process manager, I see this:

Pid |Owner | Priority | Cpu % |Mem % | Command

13754 | nobody | 0 | 2.2 | 4.0 |/usr/local/apache/bin/httpd -k start -DSSL

I've got about 9 more of these, and it keeps eating up the memory. What is it and what can I do? Is it just apache running?

View 14 Replies View Related

Apache :: Access Manual From Other Local Machines?

Jun 25, 2014

Allow from 192.168.0.*

to the httpd-manual.conf to enable access by other machines on my network but it seems to be hard coded to localhost only.

Is there something else I can add to httpd-manual.conf to enable it or do I need to copy manual folder to the htdocs folder and then restrict that <Directory> ?

View 1 Replies View Related

How To Remove Apache File Not Exist Errors

Oct 31, 2009

How to Remove Apache File Not Exist Errors

Here is the Reply of the Sys Admin

Dear Customer,

I am sorry. We are not able to resolve the File Does Not Exist errors for you. You have to do it own.

The unique errors that you have today for Apache are as follows:

client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
File does not exist: /usr/local/apache/htdocs
File does not exist: /usr/local/apache/htdocs/501.shtml
File does not exist: /usr/local/apache/htdocs/images, referer:
[url]
File does not exist: /usr/local/apache/htdocs/jailbreak-iphone-3-0-1-with-redsn0w
File does not exist: /usr/local/apache/htdocs/robots.txt
Invalid method in request x16x03x01
Invalid method in request x80bx01x03x01
# Invalid URI in request alt="Follow%20via%20FreiendFFeed"%20title="Follow%20via%20FriendFeed"%20border="0"%20height="16"%20width="16"%20/>Home
Top%20StuffiPhoneWindows%207FirefoxVistaTipsWordpressSubscribeSitemapAdvertise xc2xa0xc2xa0xc2xa0Vertical1240899%20=%20false;ShowAdHereBanner1240899%20=%20true;RepeatAll1240899%20=%20false;NoFollowAll1240899%20=%20false;Ban nerStyles1240899%20=%20new%20Array(%20%20%20%20"a{display:block;font-size:11px;color: HTTP/1.1
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
request failed: error reading the headers

I would advise that you resolve as many of these errors as you are able.

As to what caused the load on your server, I can't say. There is nothing in your logs to indicate the source of the problem. During the 1PM period when your server overloaded last there were only 29 errors in Apache. The errors that occurred during this time would not cause excessive load.

I have installed a script to monitor your server. If this load issue occurs again within one week or before your next reboot, whichever comes first, we should be able to determine the source from the script's logs in /var/log/sys-snap.sh.

View 14 Replies View Related

Apache :: Logwatch 404 And 503 Errors To External URLs

Mar 11, 2015

I used a little vServer with ubuntu (turnkey) and use logwatch to be informed by email about any errors. I'm confused about the following errors from Apache:

--------------------- httpd Begin ------------------------
Requests with error response codes
404 Not Found
http://translate.google.com/gen204: 1 Time(s)
http://www.teddybrinkofski.com/ip_json.php: 1 Time(s)
503 Service Unavailable
http://www.google.com/: 1 Time(s)
---------------------- httpd End -------------------------

These errors are definetly not from my own code. I have checked that mod_proxy is disabled and i disabled also CONNECT like here described: [URL] ....

What does these errors mean and how can i disabled this?

View 4 Replies View Related

Error: While Opening /usr/local/apache/htdocs/.htaccess

May 11, 2009

Ive just tried to block an IP address in cPanel, and I got this error:

Error: while opening /usr/local/apache/htdocs/.htaccess

Does this mean the .htacess file is not there?

View 6 Replies View Related

Apache :: Blocking / Slow On Local Windows-system

Feb 15, 2013

I have a website on a linux-server working fine with PHP/Apache. The page loads a lot of css/js/image-stuff (total 84 requests, 220k), it takes about 4 secs to load via internet.

Now I'm testing the same page locally on a Win7-64-system (Apache 2.2, PHP 5.4). The system is not very slow (8 GB RAM, SSD, i7-CPU), but loading the same page as above takes about 50 secs.

The Q is: What might be the problem?

- I turned off firewall and anti-virus.

- I used mod_status: 150 threads, max. 11 seems to be used during the loading of the page.

- I tried php5apache2_2.dll with TS-PHP 5.4 and mod_fcgid.so with NTS-PHP 5.4, but the loading-time kept almost the same.

Looking at the "network-tab" in FF or Chrome, I found that a lot of subqueries get a timing like this:

Blocking: 11.96 s
Sending: 0
Waiting: 1 ms
Receiving: 6ms

So the loss of time seem to be in the "blocking"-section. I first thought of something like "limited number of TCP-Connections", but as said above, on the same system the page is remotly loaded fast enough almost without these "blocking"-parts.

View 3 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.

=======.htaccess==========================
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

[Code]...

View 3 Replies View Related

Apache :: Setting Up Free Dns Service For Local Web Server

Jan 26, 2013

*My computer is a computer of a 500 computers network within our company.

* i have been given a STATIC local intranet ip 192.168.10.168 assigned by our IT department via their router.

* i have the internet facility provided through the above mentioned intranet for which i get a dynamic ip ex: 188.54.208.205, 176.44.107.21

* i have installed WAMP server.

my current project for the company i am doing should be able to access via internet in addition to the local access. local access is the primary access method. so now i have installed a free dns service like dyndns. at the setup of that, i have choosen a free subdomain ex: my.freedns.com they offer. then i assigned the ip ex:188.54.208.205. also installed their desktop client for monitoring ip changes auto updates.

Now the problem is : when i hit my.freedns.com the page displaying is of our internet service provider. not of my project homepage . How can i fix so when i issue above subdomain it will show my webserver default page? 

View 11 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:127.0.0.1 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

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

Cpu High Load /usr/local/apache/bin/httpd -k Start -DSSL

Jul 29, 2009

after installed php 5.2.10
nobody /usr/local/apache/bin/httpd -k start -DSSL

Code:
5896 nobody 0
81.5
1.3 /usr/local/apache/bin/httpd -k start -DSSL
mysql (5.0.81-community)
os : centos 5.3

Has been very fast server. Guide is accurate and if you leave.

View 1 Replies View Related

Apache :: Seemingly Legit Requests Generating 400 Bad Request Errors

Feb 8, 2015

So I've got a problem where a small percentage of incoming requests are resulting in "400 bad request" errors and I could really use some input. At first I thought they were just caused by malicious spiders, scrapers, etc. but they seem to be legitimate requests.

I'm running Apache 2.2.15 and mod_perl2.

The first thing I did was turn on mod_logio and interestingly enough, for every request where this happens the request headers are between 8000-9000 bytes, whereas with most requests it's under 1000. Hmm.

There are a lot of cookies being set, and it's happening across all browsers and operating systems, so I assumed it had to be related to bad or "corrupted" cookies somehow - but it's not.

I added "%{Cookie}i" to my LogFormat directive hoping that would provide some clues, but as it turns out half the time the 400 error is returned the client doesn't even have a cookie. Darn.

Next I fired up mod_log_forensic hoping to be able to see ALL the request headers, but as luck would have it nothing is logged when it happens. I guess Apache is returning the 400 error before the forensic module gets to do its logging?

By the way, when this happens I see this in the error log:

request failed: error reading the headers

To me this says Apache doesn't like something about the raw incoming request, rather than a problem with our rewriting, etc. Or am I misunderstanding the error?

I'm at a loss where to go from here. Is there some other way that I can easily see all the request headers? I feel like that's the only thing that will possibly provide a clue as to what's going on.

View 1 Replies View Related

Apache :: Rules In HTAccess Showing Errors In SeoMoz Reports

May 3, 2013

How can i prevent error 302 in my site? for example, this [URL] .... is showing a status 200

But this same [URL] .... is showing me a status 302 (note the lack of forward slash)

Every folder in my site is showing this 302 error, so i tried to do a redirect in order to fix this, but its not working.

I think its the htaccess doing this kind of redirects in my hole site but I am new to this file, so i dont know how to fix this. Rules in my htaccess are here:

(I cant write into htaccess, but I can see the content of the file)...

RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www.saludymedicinas.com.mx [NC]
RewriteRule (.*) http://www.saludymedicinas.com.mx/$1 [R=301,L]

View 1 Replies View Related

Setup Apache HTTP Server 2.0 To Run On Local Machine And Execute PL Scripts

Jan 24, 2014

I am 3 days new to figuring out how to get Perl scripts to run on my Windows XP box. I downloaded and installed the Apache installation file "httpd-2.0.65-win32-x86-openssl-0.9.8y.msi" and the "strawberry-perl-5.18.2.1-32bit.msi" from the perl.org site in hopes that I could get a feedback form to work for a web site that I am working on.

Out of the many pages that I have viewed online of how to configure the Apache Server, nothing has given any favorable results with their explanations.

My last attempt was [URL] ..... where I could not get the example to work. I did the changes to the Apache file "Edit the Apache httpd.conf Configuration File" fairly easily but I must be having problems with the test.pl because I can't get it to work.

I used a different version of Perl (Strawbery from perl.org because it installed without giving me an error pop up after installation) and after copy pasting the script, in an attempt to get it working, I ended up changing it in hopes that I could get it working, shown below.

#!/strawberry/bin/perl.exe
print "Content-type: text/html; charset=iso-8859-1

";
print "<phtml>";
print "<body>";
print "Test Page";
print "</body>";
print "</html>";

This is what the site says to create the program with:

#!/perl/bin/perl
print "Content-type: text/html; charset=iso-8859-1

";
print "<phtml>";
print "<body>";
print "Test Page";
print "</body>";
print "</html>";

where I assumed that "#!" meant the "C:" drive and substituted the first "/perl" with the folder the Strawbery Perl had installed itself to and left the second "/perl" in the first line thinking that it was referring to the executable in the "C:strawberryperlbin" folder.

This is the error I get when trying to get the script to run when typing "localhost/test.pl" in the address bar.

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
........"

Know how I can change the title of this post to read "Configuring Apache HTTP Server 2.0 to run Perl in Windows"?

View 1 Replies View Related

Plesk 12.x / Linux :: New Configuration Files For Apache Web Server Not Created Due To Errors In Templates

Dec 17, 2014

I tried to add ac new subscription and this failed.No I have an inconsistent subscription and get the following error: New configuration files for the Apache web server were not created due to the errors in configuration templates:

Template processing failed: file = /opt/psa/admin/ conf/ templates/ default/domainVhost.php,
error = Template_Exception: No data. file: /opt/psa/admin/plib/Template/Processor.php line: 28 code: 0
Previous error: Template_Variable_Exception: No data. file: /opt/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0.
Detailed error descriptions were sent to you by email.click here to generate broken configuration files once again or here to generate all configuration files.

I have Plesk 12.0.18 on Ubuntu

View 1 Replies View Related

Email Errors - 550 Callback Errors

Feb 13, 2007

I'm noticed I was getting bounced email errors from a company I was sending email through and I further investigated this by running a dnsreport on my domain.

Turns out that it fails at Acceptance of NULL <> sender, Acceptance of postmaster address, and Acceptance of abuse address. The domain that I ran a test on is using a new IP that I had recently added to my Direct Admin server. None of the other domains on my server are having issues like this.

Is is possible that I need to do something to enable these new IP addresses in exim? I mean, exim obviously responds to that IP address, but it seems to be having some issues with it.

View 5 Replies View Related

Apache Virtual Host

Jul 25, 2008

For some reason, the first virtual host i have listed in apache2.conf gets all the traffic of all the other virtual hosts listed below it.

Example: Domain xyz.com is listed as the first virtual host. the second, third, and fourth are 123.com, 987.com, and mno.com, respectively (fictitious domains). However, it seems that everything below xyz.com goes straight to xyz.com.

If i switch the first entry, xyz.com with any of the others, such as mno.com, so that mno.com is the first virtual host entry, everything then forwards to that domain.

View 0 Replies View Related







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