Questions tagged [server-side-scripting]
The server-side-scripting tag has no summary.
30 questions
0 votes
0 answers
63 views
Mobile Navbar SSR
Currently, we serve our site using SSR. On some parts of the site, we render components based on the screen size (mobile navbar for example). The SSR is serving the desktop version. So, Googlebot ...
2 votes
1 answer
158 views
Google Analytics reporting all traffic as organic
My website is built using Angular. The frontend pages are built using Angular SSR (server-side rendering). My checkout pages are using Angular, but not SSR. The issue is that once a user lands on an ...
2 votes
1 answer
109 views
Server Side Amazon Affiliate Ads Possible?
Is it possible to have server-side Amazon Affiliate ads - from my server, in order to bypass ad blockers? If I use the code supplied by the Amazon Affiliate tools, I get something like this (...
2 votes
1 answer
126 views
If the content is fetched by wget, could there be an issue if I don't know the content-type in the HTTP response?
It's a question about wget. I have a simple file uuid.html in the document root that contains a single line 54da5638-099d-4cf3-9319-c436fcb81334. I get the line in a shell script with content=$(wget ...
0 votes
1 answer
47 views
What the HTTP specification says about HTTP requests on a plain text without header
Some times in small shell scripts, I use an http request on a raw text file with no header, only a uuid string for identification. For example, in the apache document root, I might have a file uuid....
3 votes
2 answers
2k views
Server side include (SSI) directives work in index.html but not in files in a sub-directory
I was wondering if someone could explain/have a solution for why my SSI's do not work if the file I'm including is back a directory. e.g. index.html gallery/pictures.html ssi-files/navigation.html ...
1 vote
1 answer
2k views
When should I not to use page meta security headers
When should I not to use page meta security headers? For example, I configured the web server server-side with a powerful content security policy and other hardened security headers, but when review ...
2 votes
1 answer
88 views
How to pass requested domain to server when behind MaxCDN?
I have a bit of a problem getting our server to know what domain was requested to get to the server. The scenario is like this. site1.tld, site2.tld, site3.tld and site4.tld are all pointing to ...
2 votes
1 answer
59 views
Spitting server side request into HTML to be used in JavaScript bad practice?
I am working with an API which essentially provides me with image urls that are hosted on a CDN somewhere. I can simply pass it a number and it will give me the right image and it also provides me ...
0 votes
0 answers
64 views
Different HTTP_HOST received at the server side
In my browser(Maxthon) When I give refresh to an URL name: http://m.example.com/page.. I find that on the server side the HTTP_HOST instead gets: http://www.example.com/page.. This is very ...
3 votes
2 answers
475 views
"PHP" is showing up in Browser + OS list in Google Analytics report
PHP is listed as a browser in Google Analytics. 50 sessions have been created. Obviously Analytics data is collected via Javascript executed in the visitor's browser so what is PHP (a server-side ...
0 votes
1 answer
97 views
How to package web site configuration for distribution
Is there a way, preferably PowerShell based, to extract all the configuration data for a particular web site, for installing that web site on site at clients?
0 votes
1 answer
1k views
Run server side script on schedule for hosted asp.net application
I'm in the process of deploying my first website which is written is ASP.NET. I need to run a server side script at set intervals during the day which updates a database even if there is nobody using ...
3 votes
1 answer
274 views
Do web hosting companies allow server-side scripts to make external data requests?
I'm currently ready to deploy an asp.net website and looking at web hosting companies. The C# code behind periodically uses HttpWebRequest to pull data from an external website to insert into a SQL ...
4 votes
1 answer
1k views
An apache injection attack?
I encountered a novel (to me anyway) form of injection attack in one of my logs login as <!--#exec cmd="ls .."--> Which looks like someone it trying to trigger sever side includes on an apache ...