Skip to main content

Questions tagged [server-side-scripting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
47 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 ...
ronaron's user avatar
  • 51
2 votes
1 answer
137 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 ...
three3's user avatar
  • 139
2 votes
1 answer
75 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 (...
Rick Hellewell's user avatar
2 votes
1 answer
102 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 ...
Dominic108's user avatar
0 votes
1 answer
26 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....
Dominic108's user avatar
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 ...
SteveyG's user avatar
  • 63
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 ...
morgansbyers's user avatar
2 votes
1 answer
83 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 ...
hashtagjet's user avatar
2 votes
1 answer
54 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 ...
aug's user avatar
  • 135
0 votes
0 answers
56 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 ...
AgA's user avatar
  • 1,438
3 votes
2 answers
458 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 ...
Martin Joiner's user avatar
0 votes
1 answer
87 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?
ProfK's user avatar
  • 247
0 votes
1 answer
982 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 ...
user avatar
3 votes
1 answer
259 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 ...
user avatar
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 ...
ddyer's user avatar
  • 244
4 votes
1 answer
8k views

Hosting Dynamic Content on GitHub?

Is it possible to host dynamic content through GitHub:Pages? More specifically, we are using GitHub Enterprise, so we have a little more control, but I'm not aware of what dynamic content languages (...
Nicholas Pappas's user avatar
2 votes
1 answer
2k views

IIS executes "malicious.asp;.txt" as ASP file. What the?

I investigated a situation where 300+ websites hosted on an IIS server were pwned by a hacker. Investigation led me to a text file that contained malicious ASP-classic code. The file was named dz.asp;....
Salman A's user avatar
  • 352
1 vote
2 answers
127 views

Rendering citations and references in HTML using PHP/Perl/Python/

Is there a PHP/Perl/Python/... library for picking citations out of an HTML file and rendering a nice list of references at the bottom, like in Wikipedia? I'm developing a website with heavily-...
Nick's user avatar
  • 255
1 vote
1 answer
403 views

IE disables back-button [closed]

We have an ASP.Net (Web Forms) site hosted on IIS7. The site contains a table with information retrieved from a database. Paging is enabled for this table, meaning that only 10 rows are displayed at ...
Yehuda Shapira's user avatar
2 votes
4 answers
227 views

Where can I find resources for best coding practices in web development?

You'd figure that this would be an easy topic to google, but unfortunately I've been looking for a couple weeks and have yet to find really anything that I'm looking for. The problems I'm running ...
mawburn's user avatar
  • 123
0 votes
2 answers
247 views

Book / resource suggestions for learning web development? Where to start? [closed]

OK, so there's so much to know that I don't even know where to start. I'm hoping you can help me come up with a list of books to get started with. I'm interested in web applications (for example, ...
iDontKnowBetter's user avatar
1 vote
1 answer
94 views

Is there an open source solution that I can host on a web server that will allow users to anonymously upload a file to me?

I'm looking for some kind of web application I can host on my Linux web server that will allow users to upload files of arbitrary size to me from their browser without requiring them to log in. ...
mjn12's user avatar
  • 111
0 votes
1 answer
78 views

Source highlight as CGI script

I would like to put syntax-highlighted source code (C) on a website using CGI. I have the GNU source-highlight package on the web-server. Can anyone tell me how to link the source-highlight-cgi script ...
William Morris's user avatar
5 votes
1 answer
6k views

What is the best currency API out there? [closed]

I may be asking an odd question, but webmasters seem like a decent place to post this. I'm in the search for an accurate, easy API (such as using JSON or XML) so I can use my web application. I've ...
MacMac's user avatar
  • 247
2 votes
3 answers
927 views

How to inform website owner if someone downloads something from the website?

Right, beginner here so bare with me.. What i've got: A simple html/css website with a page where clients can find informative documents in the form of PDF's and rich text documents, they can just ...
Holly's user avatar
  • 121
0 votes
1 answer
233 views

Apache log analytic's

Been trying for a while to get this script fully working I think I'm nearly there. Ok so I basically need the script to show 3 things, email address - Browser type - Time logged in. EMAILS='/home/...
Grimlockz's user avatar
  • 105
3 votes
1 answer
169 views

Can I get IIS to treat some .shtml files as .php files?

I want to be able to get IIS to interpret SHTML files (only in a specific directory) as PHP, and interpret the rest as SHTML. If so, then how?
Adam Lynch's user avatar
1 vote
2 answers
738 views

Will changing SHTML files to PHP change effect how search engines index my site?

I have a lot of SHTML pages. If I change these to PHP to add some more functionality (obviously changing stuff like includes to PHP where necessary) will this effect how search engines index my site? ...
Adam Lynch's user avatar
2 votes
2 answers
162 views

Will Checking Existence Of Email Be Throttled By Email Servers?

As part of a web application I am building, I must check if a particular email address exists. This check may be performed at around 1000 times an hour at a given server. Is there any mail server ...
rsman's user avatar
  • 243
5 votes
3 answers
5k views

Metrics on "market share" for server-side scripting languages

Does anyone know of any market share information for server-side scripting languages (# of web servers, % of web servers, etc.)? I'm learning how to do server-side scripting with Python (via the ...
MikeRand's user avatar
  • 173