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


ADVERTISEMENT

Plesk 11.x / Linux :: Backup Works Only Local - No FTP

Jun 16, 2013

My server works fine like expected, but isn't uploaded to ftp. It was in 11.0.9, same after upgrading to 11.5.29.

The ftp repository in plesk shows a manually done older backup, so ftp connection seems to be ok.

In ftp repository settings I get an error, if I try to safe anything, ftp server, user and password are correct, manual ftp connection is working fine.

The error is:

Code:

Fehler: FTP-Verbindung fehlgeschlagen. Bitte überprüfen Sie Ihre FTP-Einstellungen.
drwx---r-x 2 b088598 cust 4096 Jun 17 06:01 .
drwxr-xr-x 3 b088598 cust 4096 Jun 17 06:01 ..
drwx---r-x 2 b088598 cust 4096 Jun 17 06:01 .
drwxr-xr-x 3 b088598 cust 4096 Jun 17 06:01 ..

Repository error: created file not present in directory listing

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

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

.htaccess Issue With Apache 1.3, But Works On Apache 2.2

Mar 22, 2008

I have the following Apache redirect code in .htaccess:

RewriteRule ^sap-latest-news/([0-9]*)/([A-Za-z0-9_-.]*).htm$ /domain.com/app/modules/content/latestNews.php?id=$1 [L]

This redirect works fine on Apache 2.2.8, but doesn't work on Apache 1.3.41

The following is the entry from error_log:
RewriteRule: cannot compile regular expression '^sap-latest-news/([0-9]*)/([A-Za-z0-9_-.]*).htm$'

A simple Rewrite is working fine in Apache 1.3, but the above regualar expression doesn't seem to be working on Apache 1.3. Does anyone know whether Apache 1.3 doesn't support it?

View 3 Replies View Related

Apache Not Works

Aug 23, 2007

I don't know why apache not works you can demo here : [url] Two command i've tested:

- /etc/init.d/httpd status

Quote:

Not Found
The requested URL /server-status was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.
_________________________________________________________________

Apache/1.3.37 Server at server.xxx.org Port 80

-/etc/init.d/httpd start

Quote:

/etc/init.d/httpd start: httpd (pid 17885) already running

How to enable apache software .

View 3 Replies View Related

Apache Works On WAN, IIS Doesn't

Jan 10, 2009

I am currently running a dev server out of my home. The setup is as follows:

Server is Windows Server 2008.

Apache is running, listening on port 88. On this, I have subversion and TRAC.
IIS is running, listening on default port 80. On this I have an ASP.NET web site that pulls its code from subversion.

Router is a standard Linksys WRT54G.

Router is open as can be, just to test it. Server is in DMZ, all ports are forwarded to its IP (TCP and UDP), etc. This will change, but during setup state, it is what it is.
default.aspx is set up as default document in IIS. Folders are mapped correctly. The file exists in the physical directory it's looking at.

the only site and only Application pool in IIS are for the site in question.

The issue:

Both Apache and IIS work great on my local network.

Both Apache and IIS work great on wireless network.

However, in the wild, WAN works for the apache (port 88) but not IIS. Typing in http://[ip address]:88 or any of the subdirectories works fine. Typing in http://[ip address]/default.aspx returns, in Firefox, "Connection Interrupted -- the connection to the server was reset while the page was loading".

Windows firewall is disabled and unbound from all protocols. As specified, I've opened up the server and router as much as possible temporarily in order to allow me to lock it down again step by step once I have the issue solved.

View 2 Replies View Related

Nginx Works With Apache

Aug 14, 2008

I am doing my web like this:

1) nginx listening at port 80

2) apache listening at port 78

3) nginx throws all shtml pages to apache

they are working perfectly, except one small thing:

I don't want any public visitor may visit port 78 directly, for now, both:

[url]

[url]

are working for visitors.

Anybody knows how to block/hide port 78 to the public access?

my nginx config snippet:

Code:
location = /index.shtml {
proxy_pass [url]

}

my apache2 config snippet:

Code:
Listen 78
If I make apache as follows:

Code:
Listen 127.0.0.1:78
I will get 502 bad gateway when I visit:

[url]

View 1 Replies View Related

Apache :: SSL Works Partially

May 12, 2014

I am trying to make Apache SSL work on my SAP BO Environment. I have implemented SSL parameters and conf and now when i access:

http://localhost:<portno>/index.html - It Works !!
https://localhost:<sslPortNo>/index.html - It Works !!

BUT, when i try to login to

http://localhost:<portno>/BOE/BI -- It works !!
https://localhost:<sslPortNo>/BOE/BI -- It DOES NOT work.

View 3 Replies View Related

Apache :: Localhost Works - Remote Fails

Nov 22, 2013

My customer wants a Windows system - but I'm rusty at best in Windows.I downloaded VC11 x86 Thread Safe (2013-Nov-13 20:57:44), unpacked it, moved it to it's own directory, edited httpd.conf (no auto installation) and confirmed it was working (localhost/index.html)

I added PHP and ran a PHP info - a little trouble getting the php.ini found.Apache seems to work fine on the local system - either localhost/index.html or nn.nn.nn.nn/.But remote browsers timeout when attempting to connect.

1. I've opened command as administrator and run httpd.exe directly

2. I've installed httpd.exe as a service, opened it's properties window and started it from there

3. Changed the listen port to 8080

4. netstat sees the remote browser with a waiting connection - and the local service

5. The Windows system is on my Mac network (same systems where the remote browser is) and I have transferred megabytes of files between the two systems.

In Component Services - the Apache2.4 service shows Log On As 'Local Service' - I'm guessing it should show as 'Network Service.I tried changing this - used the local user login - restarted the service. I didn't see any way to change it to 'Network Service'. Perhaps this is the problem?

ODDLY - the remote browser worked briefly - then failed with the same 'time out'.I'm guessing this is something simple that I don't understand about Windows - (then again, since I don't understand much about Windows, it could be complicated too).

View 4 Replies View Related

Apache :: URL Rewritten But Still Original One Also Works And Not Redirecting

May 13, 2014

RewriteRule ^massaggi-([^/]*)$ /an.php?prov=$1 [L]

View 1 Replies View Related

Apache :: Mod Rewrite Not Works With Existing Directory

Mar 14, 2013

Why my rules don't work as I want?

I want to make hidden rewrite from url like host.sk/dir/dir2

View 4 Replies View Related

Apache Virtualhost Order Deny - Allow Works Only On Localhost

Jun 17, 2013

I have vhost setup for test of a new website. I want to allow access on the localhost, and, from one IP from the Internet (redacted). Apache serves the site just fine on the server but I can't access the site from my the "xxx...." IP.

I'm using a physical path to test from the public IP as follows:

xxx.xxx.xxx.xxx/~user/test/index.html

View 3 Replies View Related

Apache :: Virtualhost Order Deny Allow Works Only On Localhost

Jun 17, 2013

I have vhost setup for test of a new website. I want to allow access on the localhost, and, from one IP from the Internet (redacted). Apache serves the site just fine on the server but I can't access the site from my the "xxx...." IP.

I'm using a physical path to test from the public IP as follows:

Quote:
http://xxx.xxx.xxx.xxx/~user/test/index.html

Apache v2.2
RHEL6
UserDir configured/running
SuExec configured/running

Below is the relevant vhost block in httpd.conf:

Code:
<VirtualHost *:80>
ServerName test
ServerAlias test
DocumentRoot /home/user/public_html/test
<IfModule mod_fcgid.c>

[Code] .....

I don't have a FQDN as yet, so I just made a entry in /etc/hosts as follows:

Code:
127.0.0.1 test

Here is an excerpt from the Apache error log:

Quote:
[Mon Jun 17 12:02:16 2013] [error] [client xxx.xxx.xxx.xxx] client denied by server configuration: /home/user/public_html/test/index.html

I've checked the firewall and the /etc/hosts.allow- that's not it. I've read the Apache docs and in the vhost block Allow should be evaluated last, and apparently is matching localhost but is not matching my IP.

View 5 Replies View Related

Apache :: Virtual Host Works On Port 80 But Fails On 443

Apr 20, 2013

OS: RHEL 6.4
SELinux: permissive mode
Apache: 2.2, mod_fcgid, mod_suxec, mod_ssl enabled
Common Name: www.user.dept.university.edu
(Note:user names, accounts, organizations etc. sanitized)

why Apache will serve PHP-based web pages over port 80 but not over 443. Here is the virtual host block excerpt from httpd.conf:

Code:
<VirtualHost *:80>
ServerName user.dept.univsersity.edu
ServerAlias user
DocumentRoot /home/user/public_html/subdirectory
<IfModule mod_fcgid.c>

[Code] .....

View 4 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 :: 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 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

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

My Server Works Slow But It's Ok Of Memory

Nov 29, 2007

My server is hosted within a Virtuozzo VPS Server, and it runs very slow. Sometimes, when I type commands via shell, it takes 1-2 seconds to be echoed.

I've just checked free memory ('free -m') and it seems to be ok:

Code:
free -m
total used free shared buffers cached
Mem: 8104 7642 461 0 220 3979
-/+ buffers/cache: 3443 4661
Swap: 4094 0 4094
If I check "ps -ef" I don't see any weird process and with "top" the most memory-wasting process is 'mysqld' (0.8%).

Which extra parameters might I check?

View 4 Replies View Related

VPS Server My First I Dont Think Mod Rewrite Works

May 20, 2007

I finally bought a VPS after not being able to pay for a dedicated server so I bought one from VPSbyte.com as they came highly recomended $39.95 server with Cpanel not the cheapest I gathered but I wanted reliable servers

now I moved my forum over to the server all was ok after I got the massive database sent over but when I tried to view a thread or category I could not it came back with No Valid input or something like that

I went into admin and disabled zoints SEO mod and the forum works fine BTW its a VB forum.

would it be due to mod rewrite that the forum does not work with zoints? and is it possible to get it to work?

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

Www Does Not Works Http:// Works

Jan 9, 2008

I can access my web domain by typing...

[url]

But i get no server found error when i type....

www.mysite.com or [url]

I am using LxAdmin Panel, and have added (A) record for www

www A Server IP

View 7 Replies View Related

Server Works But Sites Wont Load

Oct 10, 2009

So this is a new problem for me, and I have no idea what could be broken?

My server works, but none of the sites load.

Server ip is 69.162.121.170, one of the sites is bloghost.cl

Where should I start looking? When you try to visit the site it just tells you it cant establish a connection. All I did was restart the server today, and now nothing works

View 3 Replies View Related

Plesk 12.x / Linux :: Restarting Sw-cp-server Never Works

Jan 2, 2015

For a while now I've noticed that on Plesk 12 the sw-cp-server init scripts can never restart the sw-cp-server properly. I have to manually kill the master process then restart it:

Code:

# /etc/init.d/sw-cp-server restart
Stopping sw-cp-serverd: [FAILED]
Starting sw-cp-serverd: nginx: [emerg] bind() to 0.0.0.0:6308 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8880 failed (98: Address already in use)

[Code] .....

View 2 Replies View Related

Virtual Private Server As A GameServer WORKS GREAT

Apr 22, 2009

I ordered a vps from knownhost the other day for $50/mo w/ cpanel

I have been using it for:

hosting of my own websites and 5 other clients (15 websites total)

installed a counter-strike source 11slot 100tick 500fps server w/ srctv on it and it RUNS GREAT!! solid 500fps, no lag/choke, wonderful registration!

cpu load maxes at around 60% and ram usage is about 80%

after being with nearly ever game server provider out there my team has agreed that this is the best server we've ever had.

so to all of you people wondering about it, YES, you can run a gameserver on a vps, and I reccommend it to everyone. Not only will it save you money, but you will be able host all your websites and run even a ventrilo server if you want.

View 11 Replies View Related







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