IIS And Apache Running Side By Side

Sep 26, 2008

My server is Win2003 Standard with IIS 6. I'm using IIS6 to host websites but i have a need to run subversion which require Apache. I'm wondering would it cause any problem with my current operation. Apache will run on different port than the standard 80.



ADVERTISEMENT

Running Lighttpd Along Side Apache

Apr 19, 2007

How do I configure Lighttpd to serve images/javascript/css files that are littered about my websites? Can I just input the paths of all the directories that I want Lighttpd to serve from?

For example, I have 4 separate websites with each having a message board, main page etc... Could I have lighty serve the files from:

/var/www/html/site1/images
/var/www/html/site2/images
/var/www/html/site3/images
/var/www/html/site4/images
/var/www/html/site1/javascript
etc....

and have Apache serve the files from all the other directories?

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

PDO Side Effects

Dec 6, 2008

Im wondering I have some things turned off like:

The PDO extension in PHP, pdo_mysql, etc.

Most scripts use PHP and MySQL extension so no problem at all until i came up with 1 little devil taht requires php with PDO and pdo_mysql
My question is, is there any side effect on a production server if i recompile apache with those extensiones turned on?

Do they run in parallel to the way php and mysql runs now or will it break the whole scripts running and send the server to hell?

Basically what i mean is, i have the resources on the server to run it but do they run in parallel or they change/reconfigure the whole way php and mysql works?

View 3 Replies View Related

How To Run SSI(server Side Includes)

Jun 13, 2007

how to run SSI(server side includes) on my linus server,

View 1 Replies View Related

Resetting WebDisk On The Windows Side?

Jul 23, 2009

I configured WebDisk on my webhost (via cPanel) and it works great on one computer but with the other there is a slight problem:

When the password was first entered it was mistyped, saved somewhere (I have no idea where, that's what I am trying to find out) and now whenever I try to connect I receive an error:

Quote:

There was a problem connecting to the WebDisk service

I tried to reset the password via Internet Explorer (Tools | Options) but that cleared other passwords, not the WebDisk one.

Any idea how to reset that password (on Windows, the client side)?

View 5 Replies View Related

5851 West Side Ave Providers

Jul 1, 2009

Who in 5851 West Side Ave (Switch and Data facility) in North Bergen, NJ does half cabinets? Looking to get my hands on a half cab with 20amps. I know of AMC, already contacted them.

View 3 Replies View Related

Php Error Session Side-effect

Jul 20, 2009

i have a cpanel server with centos,

and i put a script on it,

and i get the error
-----------------------------------------------------
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
-----------------------------------------------------

View 5 Replies View Related

IIS Transparent Server-side Redirection

Sep 18, 2008

I've been asked to find a way to host our intranet externally without opening up the network.

The webserver accessible to the public domain is within an dmz. The intranet I need to serve is within our internal network.

I've managed to convince our network admin to open port 80 on the server running the intranet but I can't seem to find a way to proxy the content from the intranet server, through the webserver and to the user.

View 3 Replies View Related

Disable Server Side Includes (SSI) In CPanel

Jun 16, 2009

I have issue with my shared server. Someone used SSI to local attack user on my server.

I want to disable SSI but i dont find out how to ? (expect manual recomplie apache)

View 14 Replies View Related

Server Side Mail Filters Using Procmail

Jun 25, 2009

I am trying to follow this guide on how to configure procmail:

[url]

I can login to my dedicated server via SSH, but how do I edit files etc. should this be done via SFTP, or via Shell?

View 0 Replies View Related

Hosting & Client-side FTP Upload Security

Feb 27, 2009

My information:
I have my photography site (sfxphoto.com) currently being hosted as my main site (site contents are located inside of the publichtml folder). I also have my photo retouching site (elite-retouch.com) being hosted as a sub-domain under the main site (which has it's own folder inside of the publichtml folder). I'm being hosted through InfluxHost on a Linux server.

My Dilemma:
For the photo retouching site, I want to be able to give my clients their OWN FTP access to a designated potion of the server.

So, lets say my client upload directory is "publichtml/eliteretouch.com/client_ftp". I then want to be able to make a folder for (we'll call him) client_a inside of the "/client_ftp" folder. So the full directory to THAT clients specific folder will be: "publichtml/eliteretouch.com/client_ftp/client_a"

How can I:
1) ...set their specific FTP to open to their directory only?

2) ...ensure that they cannot navigate to other folders on my server?

3) ...make it so that the login information doesn't carry the MAIN site name, but the sub-domain site name instead?

View 7 Replies View Related

Enabling Server Side Includes Safety

Jan 30, 2008

I want to enable our server ssi server side includes (.shtml parsed).

My hosting company controls our server uptime, daily backup, server loads etc. when i request them; can you please enable ssi for shtml pages, i want to use ssi includes etc.. they suggested me use php instead of shtml for includes.

I want to .shtml, beacuse i use only ssi include header, footer same pages, also these pages search engine friendly.

Apache version: 2.0.52

I posted them please add following lines and restart apache afterwards:

Options +IncludesNoExec
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

They added and restarted apache, but not any affect. When i access .shtml pages via web browser, page opening successfully but not parse ssi includes, example:

<!--#include file="header.html" -->

but not parse, also i cannot use .htaccess files, our server admin say restricted them because security reasons.

I requested them our server root username and password, they say to me; before give you server root password, we remove all our server administration software from server and server administration service will be cancelled.

View 5 Replies View Related

Server Side Anti Spam Filter

Nov 20, 2007

i was wondering if there is any other free anti-spam filter other than Spam Assassin that can be used on a VPS account?

View 13 Replies View Related

Plesk 8 - How To Create Server Side Mail Filter?

Apr 18, 2009

Does anyone know how I can create a server-side filter in Plesk 8? I need to filter incoming mail to my mail server (using X-Forwarded-For.

View 0 Replies View Related

Blocking Direct Access To A Server Side Script

Aug 14, 2007

This topic has probably been covered many times. I am trying to block spam bots from direclty accessing scripts on my site. Measures I have taken thus far, also block my site pages that want are designed to use the scripts. This includes Hot Link Protection and a couple of directives in the .htaccess file.

how I can block direct access to my scripts?

View 0 Replies View Related

Lead Webstes (vbulletin Forum, Some Server Side Scripts)

Jun 18, 2008

I've problem with my system (Dell vostro200) I've Mcafee security center and it will block some scripts running in the system during the browsing. I can't use any of vBulletin forums ( registration and posting ) I can't do even Mcafee online registratation also. I'm not an expert in os configurations.

View 0 Replies View Related

FFmpeg Server-side Conversion Without The Php Script, And Lossless Conversion Quality

Aug 16, 2007

Prior to installing FFmpeg and its dependencies, I want to know about FFmpeg server-side conversion without the php script. Does it require those php scripts in the first place or I can just run an ssh command?

Also, does this FFmpeg have a configuration file in which you can set the quality of the converted .fla videos?

How about a lossless quality conversion and keeping the size proportion of the video the same?

Meaning, for example, from .avi to .fla without sacrificing/loosing the quality much or noticeably.

View 2 Replies View Related

Apache Is Running, Site Is Down

Oct 28, 2008

All my sites, Cpanel and WHM are down, yet httpd is up and running. Any idea as to how I should go about troubleshooting this issue?

View 11 Replies View Related

Running Apache On Windows Server

Oct 27, 2008

How stable is Apache for Windows XP Pro?

Can i get the mod_rewrite to work just fine?

Is this a good idea if im no linux buff, or should i just go ISS?

View 8 Replies View Related

How To Keep Number Of Apache Running Processes Down

Mar 30, 2007

I have small issue with load speed of pages when number of apache running processes goes over +-310, during peak traffic of day. IE: They load really slow.

Here's pic of what I mean:

=> [url]

Only thing that fixes it temporarily (at least until peak traffic ends) is to stop either httpd or mysql for several seconds, as everything cools down, then start it back up. Stop/starting mysql usually has longer terms temporary fix.

Anyway, would you have any ideas on what to configure or change within the system in order to keep the processes under 300?

The load is normal. Even at load 40, pages are blistering fast, as long as processes are under 300. So it's got nothing to do with load.

View 8 Replies View Related

Apache Always Fail (when Cpbackup Is Running)

Jul 11, 2007

My server was running a cronjob backup, and my apache always fail

root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started

I can only restart them on my CPanel WHM

Attempting to restart httpd
Waiting for httpd to restart.... . . . . . . . . . . finished.

httpd status
root 5805 0.8 0.9 21092 19504 ? S 22:39 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
root 1012 4.0 0.6 23348 13828 ? Ss 22:39 0:00 /usr/local/apache/bin/httpd -DSSL

httpd started ok

root@b# service httpd restart
/etc/init.d/httpd restart: httpd restarted

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

Difference Between Running PHP Using Fast CGI Or As An Apache Module?

Mar 10, 2008

I have been a web developer using PHP for years now, and my work laptop runs CentOS with PHP5 as an Apache Module. This suits me just fine for development, but now I want to setup a web server that runs PHP 4.4.8 and PHP 5.2.5 and offer hosting to people. I know PHP4 is very old, but I am looking to offer my users the freedom of choice, as there are still third party applications out there that may need to be run on PHP4.

I will want PHP 5 to be the default, and allow PHP 4 to be used if either the file extension is .php4, or they have a line in their .htaccess file. I have seen various tutorials in search engine results saying to run both, I can either do one of the following:

1. Install PHP5 as a module, and run PHP4 using FastCGI
2. Install PHP5 and PHP4 and run both using FastCGI
3. Install PHP4 as a module, and run PHP5 using FastCGI

In the future I will also be looking to support PHP6 once a stable version has been released, though that will probably be optional to begin with and require a line in the .htaccess file too - like PHP4. I will be using Apache 2.2.8 on CentOS 5.1. I am also looking to install Ruby on Rails and Django too, which I think use FastCGI.

What's the difference between running as an Apache Module, or using FastCGI? This will be for a shared hosting environment so performance over lots of connections, stability and security are my concerns. Should I run everything using FastCGI, if not, would the default PHP version be better off installed as an Apache Module?

View 5 Replies View Related

Long Running Apache Processes In Server-status

Feb 13, 2007

I'm not sure I understand the server-status page enough to know if this is a problem or not, but I have several processes that seem to run forever, or until I restart Apache. e.g.

Code:
13-1 21045 0/697/4264 W 59.45 19641 0 0.0 43.28 274.97 66.249.66.133 www.example.com GET /wp/2005/01/ HTTP/1.1
19-1 408 1/834/1831 C 83.52 32463 0 14.8 149.66 263.48 66.249.66.133 www.example.com GET /wp/ HTTP/1.1
30-1 14416 0/430/431 W 35.19 13347 0 0.0 37.42 37.44 66.249.66.133 www.example.com GET /wp/category/issues/ HTTP/1.1

They are almost always on a single domain (there's about 100 on the server) that's a Wordpress site. These processes are also almost always a search engine.

On the rare case I see them running on other domains on the same server they're always on Wordpress sites.

The longer the processes run, the more processor/memory they use, the more they slow the server down.

It seems to have just started in the past few weeks, I've had the site there for a couple years.

View 2 Replies View Related

Trojan Activity - Running Perl With High CPU Usage, With User Apache

Sep 5, 2007

Running programs named Perl with Heavy CPU usage, with the ownership of user apache.

We found the problem on Fedora 3 and Fedora 6.

In our case, it was the result of a Trojan activity.

Quick Solution

Check the cron jobs of user apache
crontab -u apache -e
*/1 * * * * perl /tmp/.tmp/tmpfile
delete the cronjob entry.
Also delete the file /tmp/.tmp/tmpfile
also added "apache" to the file /etc/cron.deny

That's all

Problem and solution in detail....

View 1 Replies View Related

Apache Procs Constantly Rise, Until Apache Is Restarted

Jul 23, 2007

I've had this problem a long time now with my hosting network and decided to ask here hoping I get some good solutions, or if someone is willing to looking at this (I'll pay if they want).

Here's what I mean:
[url]

Problem is as you can see apache processes constantly rise infinitely, at least until I restart apache (/etc/init.d/httpd restart). The point of restart is shown in red lines.

And after restart, it goes down again for X amount of hours then eventually rises again infinitely until it's restarted again.

But the fact that after restart it remains down, it means it had the potential to be down all along.

So my question is: what could be causing this and does anyone have solution to keep them low at all times (as per graphs)?

View 14 Replies View Related

Increasing The Apache ServerLimit In Apache 2.2.8 Version.

May 28, 2008

The Linux Server got down when the MaxClients 256 is reached.
Error Log:

"server reached MaxClients setting, consider raising the MaxClients setting"

So that I have tried to increased the MaxClients Value to 500, after changed the value in httpd.conf and restart I get following error message.

" [notice] SIGHUP received. Attempting to restart
WARNING: MaxClients of 500 exceeds ServerLimit value of 256 servers,
lowering MaxClients to 256. To increase, please see the ServerLimit
directive."

So that I tried changed the Server limit in /usr/local/apache/include/httpd.h header file. but it seems like there is no entry.

Apache Version : 2.2.8

So I have added the ServerLimit 500 entry in httpd.conf file and restart the httpd service. But still shows the same warning mesg. Please help me regarding this.

We have the Dedicated server for Flash Game Server with following configuration.

RHEL4 OS
2GB RAM
Intel(R) Xeon(R) X3210 @ 2.13GHz
Cpanel Installed.
Apache 2.2.8
PHP 5.2.4
MySQL 4.1.2 (MySQL Server is working in differend server)

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

Installed Apache And PHP Only Seeing Default Apache Page

Jun 1, 2007

I am having an issue where I have a server that Directadmin is installed on. I go to the a url that is on the server and all i see is the default page of apache saying congrats, it is installed. Although there is no file like that in the public_html any longer and I can see my files in the public_html folder of that specific site.

View 6 Replies View Related

Running XEN

Oct 5, 2009

I want to purchase a dedicated server onwhich I can set up XEN and make few virtual machines.

how to manage backups - get a sepeare machine and configure it as a NAS, use R1Soft backups etc.

View 5 Replies View Related







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