Apache :: 2.4 SAP Fiori Custom CSS Not Rewritten

Mar 18, 2015

I've been asked to put an Apache Reverse Proxy in place as per guidance from SAP - [URL] - but have come across an issue where the CSS file is not rewritten by the reverse proxy. The below is the Virtual Hosts entry from the test httpd.conf that i'm running to get it working. I'll be moving this to vhosts entries when it eventually works (optimism slowly vanishing! ).

Listen 443
<VirtualHost *:443>
SSLEngine On
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
AllowEncodedSlashes On
SSLCertificateFile /Apache24/conf/FILE.crt
SSLCertificateKeyFile /Apache24/conf/KEYFILE.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
ServerName Gateway.External.co.uk
ProxyPass / http://SAPGateway.Internal:8010/ nocanon
ProxyPassReverse / http://SAPGateway.Internal:8010/
ErrorLog "C:/Apache24/logs/error.log"
TransferLog "C:/Apache24/logs/access.log"
</VirtualHost>

Each post I come across with a similar issue mentions the trailing '/' on the ProxyPass entries, unfortunately - for me - they're there!

View 8 Replies


ADVERTISEMENT

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 :: Https Somehow Get Rewritten Into Http And Causes Error

Dec 4, 2013

I have a custom software that runs it's own webserver. I then found instructions on how to use apache2 as a proxy that will enable ssl for that site. (long story short, my custom software doesn't support ssl and it's not an option)

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

Apache :: Using Totally Custom Config Files

Dec 11, 2013

I am trying to get a Apache (Win7x64) to run using totally custom config files, so far I have this:

Code : httpd.exe -f ......confapachehttpd.conf

Loads fine and here is my trivial config:

Code:

Listen 8082

ServerRoot webinapacheapache-2.4
ServerName fitrak.me

DocumentRoot webhomewebsites

Regardless of whether I make the DocumentRoot absolute or relative Apache still won't load index.html

500 Internal Server Error

Nothing coming up erroneous in the logs...WTF am I missing???

The port is not occupied...

View 2 Replies View Related

Apache :: Bad Flag Delimiter When Declaring Custom Cookie

Apr 24, 2014

I am trying to make sessions work across both my webservers which are load balanced.I have followed many tutorials that say to do this:

RewriteRule ^(.*)$ public_html/index.php - [co=JSESSIONID:balancer.view-a:.ea-hq.com]

However, when I put the extra code at the end of my redirect in .htaccess I get "Bad flag delimiters" and the internal server error page.I am using Apache 2.4 with PHP 5.4.11 on Windows.

View 1 Replies View Related

Apache :: Forwarding Requests To A Custom Process On Host

Apr 10, 2013

I'm looking to pass the entries to a web form, via Apache, to an external process (listening on a port say 4321) running on the same host as Apache.Is there a way to "coerce" Apache into doing this?

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

Allow Custom Php.ini

Jun 12, 2009

I would like to know how to allow customers to use their own php.ini file. I have had hosts in the past that allowed you to use a custom php.ini file so long as you put it in every directory that you would need to use it.

I was just trying to figure out how this is done as I am new to all of this and trying to learn.

View 3 Replies View Related

How To Custom Php.ini

May 18, 2008

I'm using CentOS 5, Cpanel/WHM with php as cgi, when i try to put a php.ini file to to custom php for one account and it overwrite main setting on our server, someone use this bug to run c99 and try local attack other account, i've try fix this problem by edit /opt/suphp/etc/suphp.conf and set phprc_paths to /usr/local/lib/. But when i do this, php.ini in my custom account doesnt work any more... How can i custom php for one account and it not effect to main setting to prevent local attack?

View 3 Replies View Related

Custom Php.ini

Mar 15, 2007

I have a reseller account on a server, and I have a client who needs to used a custom php.ini file to set the session.save_path variable. He has created this file and placed in the public_html folder, but this path still comes up as 'No Value' and the Configuration File Path still reads '/usr/local/Zend/etc/php.ini '.

What do I need to do to get this site to read from the correct php.ini file? I tried setting this in the .htaccess file, to no avail.

View 9 Replies View Related

.biz As Custom Dns

Jun 25, 2007

I have a question .. does it effect to any service if i use .biz extension as a custom DNS instead of .com or .net extensions

View 10 Replies View Related

WHM Custom Nameservers

Jun 24, 2009

We just got a dedicated server, my first time messing with anything dedicated though I've had WHM before. I have 4 domains I'd like to setup to point to this. But I'd prefer our company URL to host the name servers. Domains are registered through enom who will allow me to setup the name servers.

I'm trying to use the "Nameserver IPs" section in WHM to setup the name servers but it just sits and "works" but never actually finishes. Does my company URL need to be pointing to the server before doing this?

View 2 Replies View Related

Php Custom Error Log

Nov 5, 2008

I have a customer who wants to log the errors of his site in his domain's folder. How do i do that?

I have enabled error logging in php.ini they are stored in /var/logs/php_errors, but i don't wanna change that.

how do i do to put only his php errors on a file of his folder?

i use cpanel on a centos box.

View 1 Replies View Related

Custom FTP Footer

Jul 23, 2008

how I can create an FTP site with a customized footer with some text and a URL in?

The FTP site as it is now is vanilla and only shows the Apache version at the bottom.

View 6 Replies View Related

Should Custom Pay For Web Hosting?

Nov 1, 2007

I'm just starting doing web pages as a side business. What I'm wondering is if I should pay for the monthly fees for the web hosting and just charge the customer for design and maintance?

or

Should I get the customer to buy their own web hosting and the site gets uploaded to that site and they pay for the hosting?

As you can see I'm really new to this. I'm thinking of getting the "power" plan from [url]so I can upload and create multiple websites for different customers?

What do you people typically do for small business maybe only 2-5 customers?

View 14 Replies View Related

Custom Nameservers

Sep 14, 2007

(x.com = replacement for my actual domain)

I am currently in the process of transferring my sites to a new host (Liquidweb). On my old server I used my host's nameservers, whereas Liquidweb STRONGLY recommends (two or three times in the "account info" email) that I create custom ones on their server.

So for one of my domains, I created an account in WHM, created ns1 and ns2 nameservers in WHM, created the nameservers for the domain (in Tucows/Opensrs) and changed the domain to use it's own nameservers. (ie x.com uses ns1.x.com & ns2.x.com) That all seems be working fine now; ie, typing x.com in my browser resolves to the new server.

This would lead me to believe that the new nameservers are ready to use and that I should be able to start using them for other domains too. But when I try to change the nameservers for any of my other domains in Opensrs I get this message:

"Unable to update nameservers: Nameserver ns1.x.com doesn't exists in the registry"

I would normally assume that the new nameservers just haven't propagated yet. (It's been 24-36 hours since I originally created them in Opensrs.) However, x.com is currently resolving correctly, and it's using ns1.x.com & ns2.x.com ... so why wouldn't I be able to change other domains to also use ns1.x.com & ns2.x.com?

Here's a WHOIS I just ran on completewhois.com for ns1.x.com:[NAMESERVER whois information for NS1.X.COM ] [rs.internic.net] Whois Server Version 1.3 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to[url] for detailed information. Server Name: NS1.X.COM IP Address: 72.52.###.### Registrar: TUCOWS INC. Whois Server: whois.tucows.com Referral URL: [url] >>> Last update of whois database: Fri, 14 Sep 2007 20:01:24 UTC <<< [whois.biz] Not found: NAMESERVER NS1.X.COM >>>> Whois database was last updated on: Sat Sep 15 00:33:44 GMT 2007 <<<<I don't mind waiting if the nameservers just have to propagate (is that why it says "not found" there?), but if that's the case why is my x.com site already resolving correctly using the new nameservers?! Is it just because its using its own nameservers? (If that makes any sense ...)

I have WHM/CPanel installed, that's what I used to add the nameservers and so on.

View 4 Replies View Related

VPS - Custom Nameservers...

Mar 1, 2007

I'm trying to configure my newly acquired VPS and am having a hell of a time with it.
I will be hosting several sites on this server, so I've ordered an extra IP so that I can run my own custom nameservers (and Lee doesn't have to bother with adding my domains to his system)

At my registrar, I've created two new nameservers (ns1.thatscriptguy.com and ns2.thatscriptguy.com) and pointed them to my server. I've added the additional IP to the system as eth0:0 and configured the domain. Here is a copy of my /var/named/thatscriptguy.com.hosts

Code:
$ttl 30M

thatscriptguy.com. IN SOA ns1.thatscriptguy.com. kevin.thatscriptguy.com. (

1172728392

10800

3600

604800

30M )

thatscriptguy.com. IN NS ns1.thatscriptguy.com.

thatscriptguy.com. IN A 66.90.121.92

thatscriptguy.com. IN NS ns2.thatscriptguy.com.

ns1.thatscriptguy.com. IN A 66.90.121.92

ns2.thatscriptguy.com. IN A 66.90.121.253

www.thatscriptguy.com. IN CNAME thatscriptguy.com.

mail.thatscriptguy.com. IN A 66.90.121.92

mail.thatscriptguy.com. IN MX 1 thatscriptguy.com.

View 2 Replies View Related

Custom Request...

Apr 24, 2007

Where could I find the following or how much would a custom plan with the following details cost:

Fair share of a decent cpu(s)
256mb RAM guaranteed
5-6gb space
100-250gb bandwidth

That allows:
IRC usage
Low-resource game server (9-13mb RAM, 2-5% cpu usage).

View 0 Replies View Related

Custom Nameserver

Jan 8, 2007

I recently signed up for hosting with ASO on a shared hosting plan with intentions to operate an SMF forum. Prior to going live, I would like to prepare for a possible upgrade to a VPS in the near future if the forum exceeds allowed resources on the shared platform, specifically the MySQL connections which appears to be set at 40. I am currently utilizing the ASO nameservers and was wondering the following:

If I setup custom nameservers at Namecheap and request likewise from ASO, when it comes time to switching to a VPS, can I perform the following and anticipate downtime only during steps 2 & 3?

1) Configure the VPS (including DNS)

2) Switch forum to maintenance mode and transfer data to VPS

3) Change the customer nameserver IP addresses at Namecheap

Basically, I want to verify that I won't experience the 24 to 48 hrs of downtime associated with changing nameservers. Additionally, are there any known disadvantages of having custom nameservers on a shared hosting plan?

View 1 Replies View Related

Custom Nameservers + MX Records

Jul 27, 2009

I've got a Domain with Name.com. I have just introduced a new service into my website which is the google @ Doamin.com.

When ever i go to change my MX Records, The name control panel tells me that before i can do that i need to change my Nameservrs to;

NS1.Name.com
NS2.Name.com
NS3.Name.com
NS4.Name.com

But when ever i do that, it ofcorse makes the domain unreachable.

So how can i get it so that I have My custom nameservers

NS1.Fagex.net
NS2.Fagex.net

With these MX Records;

Record Type
Record Host


Record Answer
TTL
Priority (MX only)

MX leave blank ASPMX.L.GOOGLE.COM. leave blank10
MX leave blank ALT1.ASPMX.L.GOOGLE.COM. leave blank 20
MX leave blank ALT2.ASPMX.L.GOOGLE.COM leave blank20
MX leave blank ASPMX2.GOOGLEMAIL.COM. leave blank 30
MX leave blank ASPMX3.GOOGLEMAIL.COM. leave blank 30

View 9 Replies View Related

Custom Nameservers For Resellers?

Feb 19, 2007

what changes we are supposed to do the server to provide our reseller their own custom nameservers? we do have management companies hired for issues but i really feel i should know this too.

View 3 Replies View Related

Custom Nameservers, Dedicated IPs

Apr 22, 2009

I have a Plesk VPS hosting 2 domains. I would (ideally) like to have both domains have dedicated IPs in addition to custom nameservers (custom to both names... ns1/ns2.domain1 and ns1/ns2.domain2). How many IPs in total would I need for this configuration? 4? How many if only one is dedicated? Or neither is dedicated?

View 7 Replies View Related

Creating Custom Nameservers

Jul 12, 2009

I would like to create custom nameservers for a Server i just purchased. I seem to be getting unclear messages from my Host & Domain registrar on what the process should be.

I have [url] registered. i would like to be able to provide [url]& [url]etc. to clients to use as nameservers.

i have no other servers hosting nor do i have a DNS created somewhere's else? what should be the process in getting these created?

View 7 Replies View Related

Make Custom Backup Under WHM

Nov 5, 2009

I would like set backup for my vps in a specific way but it seem is not possible..

I would like set weekly backup for the whole vps accounts. This can be set easily by choosing "weekly" and by ticking Retention option Monthly..Like that daily and monthly backup will be not performed and only weekly backup will be done...well. Now I would like allow for some specific account more interval like also daily or also monthly or also daily and monthly...

This seem to be not possible under WHM....I see only the option to choose some specific account to make or not backups...but not to choose more interval..

So I must probably do that manually and set a cron job for the specific account I need but not see exactly how I must do..In fact am not very confident with SSH and I don't know exactly what code to type...

View 1 Replies View Related

IIS Custom 500.100 Error Page

Jun 2, 2009

I have configured a custom 500.100 Error for one of my web sites in IIS 6.0. However, the custom error page appears nested within the HTML of the page throwing the error, at the point the error occurs.

This is problematic as live errors are being overlooked when they appear late in the script as the majority of the page outputs normally.

On my development server IIS 5.1 this does not happen. The Custom Error Page is shown as its own page. The errors cannot go unnoticed.

How can I change IIS 6.0's Customer Error to behave like my development server, and do it just for the one web site concerned?

View 2 Replies View Related

Custom Cpanel Backup

Jun 7, 2009

I have a server that has Cpanel doing nightly backups using the built in auto backup tool in WHM. However, I have one account on the server with a 7 GB database. Everytime this database was dumped to the backup it would lock the database from users accessing it for about 30 minutes.

So instead, I'm now using a slave/master replication setup to do the database backup incrementally and have excluded this account from being backed up every night.

However, I would still like to be able to back up the account itself. Is there a way to setup a unique cron task to backup just this one account and skip the mysql database export?

Does cpbackup do anything more than just zipping up the account's folder in the home directory? Or are there other files it needs to keep in order to do a restore?

View 3 Replies View Related

Negotiating A Custom Package

Apr 7, 2008

Quite often here people suggest negotiating a custom package.

I did that several years back and it has survived a couple of host ownership changes but now it is not being honored by the latest owner.

The price went up without notice (other than a bigger invoice, received too close to the notice period to do anything), and key features I needed have been withdrawn.

I don't suppose I have much option but to move on.

What experience do others have of this?

And for those of you who sell, and maybe have taken on clients from a previous owner, what would your attitude to long term customers be?

View 11 Replies View Related

Prevent User Use Custom Php.ini

Apr 26, 2008

I have added some functions in php.ini for security.

But when user use their php.ini file located in their account, all functions enabled again.

How can i prevent user custom php.ini?

View 10 Replies View Related

How To Host Custom Applications

Sep 12, 2008

We'd like to host an application that will be controlled through web access at a specific port. We also want to control the amount of data traffic on a per user basis.

How can we do this? Can we bind a specific server IP : Port to a user and control the data from that. How can we make sure that only one user access one server IP and Port and so cancel user overlapping (one user finds out another IP and Port and uses that).

We will be using Windows Server 2003 and can have Plesk Control Panel installed.

View 0 Replies View Related







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