Apache :: Make CGI Cross Platform?
Aug 23, 2014
I would like to make a cgi cross platforms. Some servers are running Ubuntu server, 32 bit others are running Centos 64 bit and so one. How do i make a cgi script that run well at least for Linux based operating systems such as Debian, Ubuntu, RedHat and so one ?
View 1 Replies
ADVERTISEMENT
Mar 30, 2014
I'm trying to set up a login script on twenty subdomains that will be checked on another subdomain. I've found this example for different domains and figure it should be simple enough to utilise but my ereg is crappy
<IfModule mod_headers.c>SetEnvIf Origin "http(s)?://(www.)?(domain1.com|domain2.com)$" AccessControlAllowOrigin=$0$1Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin</IfModule>
View 4 Replies
View Related
Nov 26, 2014
We have following rule in httpd-vhosts.conf and it was working all ok.
All of sudden we have found on one day that it stopped working and we did some configuration tweak with this rule but none of them worked.
During troubleshooting, last change was disabling mod_security and after that it started working again. However, next day we had again enabled mod_security to get issue replicated but found it working all ok.
Any clue for such behaviour of Apache ? Why all of sudden following working rule may get stopped working and then starts working again ?
<IfModule mod_headers.c>
SetEnvIf Origin "https://(www.)?(v1.abc.com|v1ak.abc.com|v2.asite.com)$" AccessControlAllowOrigin=$0$1
Header Set Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin
Header Set Access-Control-Allow-Credentials "true"
Header Set Access-Control-Allow-Methods "GET, POST, OPTIONS"
Header Set Access-Control-Allow-Headers "origin, content-type, accept, X-Requested-With"
Header always unset Expires
</IfModule>
OS and Apache Version details are below:
Apache Version :2.2.27(win32), OS: Windows 2008 R2, ModSecurity Rule Set ver.1.5
View 1 Replies
View Related
Oct 10, 2013
I have an ecommerce store. dns at godaddy. A record www points to the 3dr party hosted shopping cart solution on ip a.a.a.a. I also have a blog. A record blog subdomain points to another server b on ip b.b.b.b hosted away from the shopping cart server a completely.
So www goes one place and blog goes to another.The problem is I need to somehow make the blog appear within the main site as URL...blog instead of as a subdomain blog.domain.com.
I cannot access or modify the hosted shopping cart server in any way. I cannot load wordpress there, that is why it is on a completely separate server.I've been told this is perhaps possible with a reverse proxy configuraton on server b where ip b.b.b.b is.So that even though blog. points to server b it can appear that the url is www.mydomain.com/blog and the blog pages off that directory as well.Can this be done via reverse proxy?
View 8 Replies
View Related
Dec 8, 2006
we've been running our software on apache 1.3 for years with no problems. We have a new server running apache2 and now none of our mod_rewrite works. Is there something extra that needs to be done with apache 2 to get mod_rewrite working? The module is definitely loaded (first thing I checked). If we turn on allowOverride from None to All in the httpd.conf we get completely blank pages. Our regular php pages work fine with allowoverride set to none, but they all break when it is set to all. Please help. This is the second time we have run into this on apache 2 servers.
View 2 Replies
View Related
Jul 26, 2007
one of my clients wanna run an ASP.NET script on his site but all of my servers runing Linux and Apache not Windows so it can't support ASP by default so i wanna know how to make it support ASP or what's the essential software to run it on my server to enable it support ASP.NET
View 2 Replies
View Related
Jan 17, 2015
I am a beginner in Apache Web server, whether it is possible to make some rewrite function ( or something similar ) to add some text on url from access ?
For example URL....
I need some function in httpd.conf where in SetHandler server-status ( URL... ) can see users who are connected like /testurl username=someusername:somepassword ?
I did link http://someusername:somepassword@domen.com/testurl?username=someusername:somepassword but some users delete from ?username=someusername:somepassword from link and I have a problem to monitoring that lines !
View 3 Replies
View Related
Jan 11, 2015
i have made my all pages with .html extension and hence my SEO is based on accordingly. Now i made some changes to htaccess that causes to not inclusion of header and footer pages (both are made with .php extension ). so i decided to change the extension of pages (.html to .php) and it wokrs. due to SEO and large number of pages i want all my pages .php (made later). to get converted automatically with .html in browser. so is it possible using .htaccess rewrite.
View 1 Replies
View Related
Jun 27, 2008
I have a facility that offers racks and bandwidth (expensive), however the same facility is a POP for Cogent as well, who after I contacted informed me that I can buy bandwidth from them directly and just have the racks with said facility.
Now, besides my servers, do I need to own anything in order for me to mix my 100MB uplink from my Rack provider and Cogent?
I am assuming that with Cogentco I will be able to get IPs more easily and thru them, so if I renew my contract I don't have to migrate class C no matter what datacenter I host (as long as I have cogent in the mix, correct?)
BTW; is it usual to get charged anything for BGP or cross-connect, what do you pay?
View 6 Replies
View Related
Apr 3, 2008
I'm getting a cabinet colocation with a provider and on the sales order there is a setup and re-occurring fee for "cross connect". My rep explained it's for the connection from my cabinet to their switch. Is this a typical charge for colocation? I thought cross connect is for connecting from their facility to 3rd party providers.
View 13 Replies
View Related
May 10, 2009
On IIS6 many of thesite are under cross scripting attack I tried by remove the the code but it affects again after some time I reset the ftp password and passowrd is a combination of complex alpna numeric character.I have cheked the permission it is ok.
How you guys fight with cross dcripting attack.
View 9 Replies
View Related
Jan 1, 2007
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
That's the wordpress .htaccess
What makes me wonder is if we delete RewriteCond %{REQUEST_FILENAME} !-f, it won't work.
As if there is a recursion. However, there can't be a recursion given the [L] thing right?
View 0 Replies
View Related
Mar 14, 2007
I have two RedHat EL 4 boxes linked via a cross-connect. One is a web server (10.0.0.3) and one is a mySQL server (10.0.0.2), the interface between them is eth1 on both machines and a second interface eth0 connects to the internet.
I want to use the web server to send queries to the database server via eth1, 10.0.0.2:3306 in this case. If I send a database query via eth1 there is a delay of about 10-20 seconds before the result comes back. If I send the same query to the database server but use it's main IP instead of the internal IP so that the query is being sent to it over the internet (xx.xx.xx.xx:3306), the result comes back instantly.
Similarly, if I send a query from any remote server the result is instant.
Why should there be such a huge delay when sending a query directly through the cross-connect?
The routing table ( ip route show ) for the web server is:
xx.xx.xx.xx/xx dev eth0 proto kernel scope link src xx.xxx.xx.xx
10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.3
default via xx.xx.xx.xx dev eth0
and the routing table on the database server is:
xx.xx.xx.xx/xx dev eth0 proto kernel scope link src xx.xx.xx.xx
10.0.0.0/8 dev eth1 proto kernel scope link src 10.0.0.2
default via xx.xx.xx.xx dev eth0
I have ifcfg-eth1 on both boxes:
DEVICE=eth1
ONBOOT=yes
TYPE=Ethernet
IPADDR=10.0.0.3 / 10.0.0.2
NETMASK=255.255.255.0
Both boxes can ping each other and transfer files using wget without any apparant problems or delays.
Anyone have any ideas on how to fix this 10-20 second delay when sending queries through the cross-connect?
View 3 Replies
View Related
Feb 11, 2008
I have two VPS's, VPS1 has one vbulletin community. VPS2 has about 10 cpanel accounts, mostly email, a blog site, etc. Both VPS's well under 10 gig in size not including any backups stored on the VPS.
For the more important VPS, VPS1, I am packaging the cpanel account (50mb) and SCPing it to VPS2.
I am also running pckgacct on the cpanel accounts on VPS2 (about 2 gig total, 1 tar.gz is 1.5gb, three others around 250mb, others smaller) and storing them on VPS2.
I then have WS_FTP scheduled to download the cpanel tar.gz files each night to a local machine.
I also have WHM setup to do daily incremental backups, but am not moving any of these offsite.
So, it seems I have three options:
Keep doing what I am doing.
Keep moving VPS1 tar.gz files to VPS2, but also start moving VPS2 tar.gz files to VPS1.
Start moving tar.gz files (or raw files with rsync) to offsite storage.
I'm curious on some feedback about the three options. These are personal sites, I am not reselling any sites/packages.
It seems like from a data security standpoint (email and stuff), the more 'locations' introduced into the loop, the less security there will be. Does anyone get concerned about moving their email and other data to offsite storage services?
As I said, I have a technical solution currently working, but I am wondering about the theory/data protection aspects of the various options for going forward.
View 1 Replies
View Related
Apr 7, 2008
How much do cross connect fees cost in the Equnix/Dallas Infomart and a Level3 owned datacenter? Is it priced according to what size circuit?
View 1 Replies
View Related
Jun 8, 2007
i am about to sign up for equinix's colocation service in LA. I am just curious if anyone else is paying similarly outrageous cross connect fees.. they are charging $300 for ethernet, and $200 for DS3.
View 14 Replies
View Related
Oct 18, 2007
Not mentioning about the price. I want to compare the performance only, between Xen, OpenVZ and Virtuozzo
View 12 Replies
View Related
Aug 3, 2009
apperently cPanel does not wish to fix a cross-site request forgery because it would be a so called feature. Maybe due the weekend someone had a drink to many
Anyways ; from The register:
Quote:
The vulnerability in cPanel is triggered by luring a user to a malicious website while logged in to the program, which is one of the most widely used web-hosting applications.
The attack is able to trick cPanel into carrying out sensitive commands by making it appear as if they came from the victim.
"If you logged in as root and you hit my website or you hit any website I control, I can do anything I want," Bailey said. "I can reset your root password, I can upgrade software, I can modify any setting I want. That's scary and that's bad."
Even more troubling, Bailey continued, was the reply he got when he notified cPanel officials of the bug. "The response I got from cPanel was we can't fix this because it's a feature. Apparently, they're worried it's going to break integration with third party billing software, so they can't fix this."
View 10 Replies
View Related
Jun 12, 2007
if anyone have experience with remote MySQL server setup
I have 2 servers in the same datacenter, 1 serve as web server, and 1 serve as mysql server.
would my remote MySQL server slows down my site load if it's not connected through cross cable? it's on the same datacenter though
View 4 Replies
View Related
Mar 29, 2009
In another thread somebody had mentioned something about Citrix Xenserver utilizing shared iSCSI storage with multiple hardware nodes. I think this is a very intriguing concept, but is there anything open source or less expensive that you have used to accomplish similar resource virtualization?
Whether citrix or not, describe your setup!
View 4 Replies
View Related
Oct 21, 2007
Which VPS do you prefer and why?
View 14 Replies
View Related
Dec 28, 2008
I have a new comparison shopping site. The challenge I currently have is that I have a dedicated server on Hostgator ($374 per month). But, I am in the middle of changing programmers after initial problems. While we are working through issues, I would like to bring down costs (there is very little traffic on the site right now).
Does a service such as Amazon EC2 make sense? It is not that I am unhappy with Hostgator. I just want to reduce cost while we fix the site (could take several months), and, position the site for easy growth (which is why I am considering Cloud Computing).
Comparison shopping is a large database intensive effort, so I do not think that a simple "shared" service makes sense.
View 8 Replies
View Related
Jun 22, 2009
There always seems to be some Quality issues with the Nvidia chipsets, so I was looking at getting some feedback on boards if any of you have been using anything else yet.
Normally I only use Tyan for server builds but the only alternative to Nvidia chipset is the Thunder h2000M (S3992-E).
I'm looking for stability #1, performance #2
I'm looking for something non Nvidia but simular to the "TYAN S4989WG2NR Quad 1207(F)" as far as features.
View 1 Replies
View Related
Mar 14, 2009
Every one talks about WHMCS however I am not found any real online companies using it's full potential so I dont know how it looks or how good it would fit my plans.
I could not find a overview of companies using their software.
So, I am asking about Resellers Club,
I like the way it is set up for domains, hosting etc and looks like a big company
example... "1and1, godaddy, etc".
Are there any applications similar to Resellers Club for client management, domain management, shopping cart etc that does not look like everyone else on the web?
View 7 Replies
View Related
Feb 6, 2009
I have seen here in the Windows Hosting Forum that some people ask questions about Windows hosting where they would really benefit from a basic understanding of the Microsoft web technology.
Recently on Jan 21, Microsoft made it a trivial process to install all the components needed to "kick the tires" with the "Web Platform Installer"
And I've come across a lot of hosters claiming to provide Windows hosting that could really use some quality time with this stuff!
From the Microsoft web site:
The Web Platform Installer (Web PI) is a simple tool that installs Microsoft's entire Web Platform, including IIS, Visual Web Developer 2008 Express Edition, SQL Server 2008 Express Edition and the .NET Framework. Using the Web Platform Installerâs user interface, you can choose to install either specific products or the entire Microsoft Web Platform onto your computer. The Web PI also helps keep your products up to date by always offering the latest additions to the Web Platform.
New Updates! Now supporting Windows XP and Windows Server 2003, Web PI makes it easy to install and stay up-to-date with the Microsoft Web Platform. This updated release lets you install ASP.NET MVC, Visual Studio Tools for Silverlight, and much more!
[url]
A nicer screen shot:
[url]
View 8 Replies
View Related
Jul 3, 2008
Does xen run better on a double processor server rather than an intel duo?
View 1 Replies
View Related
Oct 20, 2008
Buddies, what do you know about Solaris platform?
Have you used it ever?
I ask as Globaltap.com offers it in their VPS deals and wanna know more about its specifications.
View 6 Replies
View Related
Apr 15, 2008
I would like to ask your opinions on the best way to control server services and scripts on different platforms.
Basically i need to execute some command line scripts on a windows server. The way im doing this is vbscript which is called in asp.
What i really want to do is have a central server on linux which i can host a php script and mysql database on which in turn connects to the windows server to execute the vbscript.
Ive always worked with php and mysql so i dont really want to run everything in asp. If i did run everything in asp im not to sure if it would be clever to run asp scripts with mysql and would then have to go to the microsoft sql 2005 route.
So my question is what would be my best way to run php and mysql on a linux server that can in turn connect to a windows server to run a vbscript or execute through command line and log data to mysql, baring in mind authentication and security.
I do have php and mysql set up on the windows server but after alot of trouble getting it running right im not to keen on running the php scripts local, i really need a central linux server for the scripts.
View 1 Replies
View Related
Dec 7, 2008
Anyone of you had a chance to try windows azure platform?
If Yes, what do you think of it?
View 10 Replies
View Related
Jun 2, 2007
The most common hosting platform is linux correct?
View 9 Replies
View Related