Questions tagged [server-side-scripting]
The server-side-scripting tag has no usage guidance.
30
questions
0
votes
0
answers
44
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
135
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
73
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
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 ...
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....
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
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 ...
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 ...
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 ...
3
votes
2
answers
457
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
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?
0
votes
1
answer
977
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
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 ...
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 ...
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 (...
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;....
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-...
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 ...
2
votes
4
answers
225
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 ...
0
votes
2
answers
243
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, ...
1
vote
1
answer
93
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.
...
0
votes
1
answer
77
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 ...
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 ...
2
votes
3
answers
925
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 ...
0
votes
1
answer
232
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/...
3
votes
1
answer
168
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?
1
vote
2
answers
735
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? ...
2
votes
2
answers
161
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 ...
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 ...