amazon web services – AWS Cloud Front, how to request origin using correct url

I’m trying to cache a website on an EC2 using the URL xyz.com, so i created an Cloud Front with the origin pointed to xyz.com,

But all information returned by the server (like button urls) are not relative and include the request URL, meaning that if Cloudfront access the origin with xyz.com, the contents returned by the CDN (for any cname used) will contain the origin url like an <a href="xyz.com/info"><a>
instead of a “cached” url that points to the CloudFront distribution, like an cdn.xyz.com.

tl:dr
CloudFront should return:
<a href="cached.xyz.com/info"><a> (which is the url accessed that points to the distribution)
But it returns:
<a href="uncached.xyz.com/info"><a> (which is the Origin URL that contains the data to be cached)

Is there a way to spoof the Origin server to it think that URL that is being used to access it is the URL being used to access the CloudFront distribution, so it returns correct URLs?

architecture – ASP.NET Web API – what is the design pattern?

In Visual Studio, ASP.NET MVC project template is designed for MVC pattern, but what about ASP.NET Web API project template?
I know that we can create API from MVC project, also we can build MVC app from Web API project.

But what if I use Web API project and return only data, not Views? What is the design pattern behind it? It does not consider to be a MVC anymore, becouse it doesn’t have View. Is it just a N-Tier architecture?

I'm looking for a web hosting provider

Hi Guys,
I'm looking for a web hosting provider for someone who is starting out building websites.
What I'm looking for:
1] support multiple domains on one account
2] good with wordpress
3] suports Cpanel
4] I'm good with $10-$20 a month
I'm just starting out and have no experience with web service providers, the only think I have picked out is my domain name.
What are your views on Hostmines.com hosting solutions? They are offering 40% off now.
Alternatives?
thx for your help

Europe cPanel web hosting?

I am looking for a cheap shared hosting with dedicated ip.
Anyone has any good idea or any details of any provider.
budget is 20 usd.
Requirements
20gb hosting space
Dedicated ip
server much be good Europe location.
Any info on QHoster.com cPanel web hosting? Can I rely on them?

Regards

.

sharepoint enterprise – Lock down page and have web part zones at certain points

Need help with a layout using custom CSS and JS. Want to lock down page and have web part zones at certain points

I have a standard page that was blank. On this, I added some custom CSS and JS and make an accordion.
I am using this as a base.

The first problem I run into is if I edit the page and make changes (having to expand the accordion to get to certain bits of text) the accordion breaks and jams. It stays open and no longer works, so I have to roll back the page.

The only way I got around this was using Designer to just add text in. This causes more trouble as I’m not a coder. So when I try to add formatting, bold, tables or bullets in Designer, it’s all greyed out. Sometimes it isn’t. So confusing.

I suppose what would be handy perhaps is to have the accordion “locked” on the page. Then in each of the sections it has a web part zone. Then I could add my own custom parts when I needed them, without fear of the accordion breaking. If I need to change titles or icons, I could dive into designer to make those minor changes.

Any advice and help here is appreciated.

sharepoint enterprise – Need help with layout using custom CSS and JS. Want to lock down page and have web part zones at certain points

Apologies for the awful title.

I’ll try to explain this.

I have a standard page which was blank. On this I added some custom CSS and JS and make an accordion.
I am using this as a base.

The first problem I run into is if I edit the page and make changes (having to expand the accordion to get to certain bits of text) the accordion breaks and jams. It stays open and no longer works, so I have to roll back the page.

The only way I got around this was using Designer to just add text in. This causes more troubles as I’m not a coder. So when I try to add formatting, bold, tables or bullets in Designer, it’s all greyed out. Sometimes it isn’t. So confusing.

I suppose what would be handy perhaps is to have the accordion “locked” on the page. Then in each of the sections it has a web part zone. Then I could add my own custom parts when I needed them, without fear of the accordion breaking. If I need to change titles or icons, I could dive into designer to make those minor changes.

Any advice and help here is appreciated.

How can I build a web bug / URL token from scratch?

I’m really interested in Canary tokens and would like to learn more by building my own generator – And start with a simple URL token.

For example:
https://canarytokens.org/generate

It’s hard to find good materials on how to build canary (honeypot) tokens.
I know it’s quite nieche outside of infosec world, but not even my professor can point me to the right direction.

Ignoring the frontend – What else would I need to know? Is PHP enough? Do I need SQL databases?

Can someone point me to good sources? (tutorials, books, blogs…)

Web Designer needed

Hi,

I have examined many design and development sites. No doubt each site is a good one, but I think I need a site UI like Weblistic https://webilistic.com/. So, is there anyone who knows the experts from the design field?

I want to connect the one who designs the site as per my needs. Thanks in advance.