Skip to main content

Questions tagged [apache]

open-source HTTP server for operating systems like UNIX, its variants and Windows. Apache is a secure and efficient server providing HTTP services compliant with the current HTTP standards.

Filter by
Sorted by
Tagged with
2 votes
1 answer
323 views

What really is a "web server" in relation to popular frameworks like Flask, Node.js, Apache?

In Flask you can run a "webserver". Well really it's a "WSGI Server". Well really you shouldn't be using core server features like serving files through HTTP at all, you should be ...
Leftover Salad's user avatar
-2 votes
1 answer
156 views

Using Apache and PHP to provide Frontend, possible to use PHP also for backend?

I have a design question to all the programmers out there. Until now, I wrote most of my software in vb.NET oder C#, especially if I needed a Frontend. Now I would like to have a Frontend which is ...
Manuel's user avatar
  • 97
2 votes
0 answers
128 views

mod_rewrite should I define a url prefix for assets?

I am working on a little framework where I have this directory tree: project/ |--- ... (directories unrelated to the question) |--- public/ | |--- index.php .htaccess The .htaccess sends every ...
AymDev's user avatar
  • 121
1 vote
0 answers
92 views

NGINX in between load balance and Apache?

I have recently joined the company where I see below stack to handle the http request CDN -> LVS(Load balancer) -> NGINX -> Apache My question is about using advantage of NGINX b/w Load balancer ...
user3222249's user avatar
0 votes
1 answer
629 views

How to route/implement port forwarding with AWS/Apache web server (httpd) with a Node.JS app on port 3000?

I'm trying to understand this and having a hard time. I usually use Ubuntu server, with Apache2, and this time I am not. So I'm a bit out of my element. I'm also a software developer and I don't do ...
aCarella's user avatar
  • 329
-3 votes
1 answer
471 views

TestNG runner when using @DataProvider combined with apache poi does not execute tests sequentially

EDIT: I have an ExcelUtility.java class to get cell data from it and pass it on to the tests methods in my test class. I am reading from 1 excel file. The excel file has 3 worksheets. Every worksheet ...
me2me2you2me's user avatar
2 votes
1 answer
588 views

Is there a limit of requests that an Apache server can make and wait for response?

Let say I have an Apache server that needs data from external API before serving the page. I wonder if there is a limit of requests an Apache server can make and wait for response. Or does it depend ...
kkkkkkk's user avatar
  • 134
3 votes
2 answers
202 views

Does prefetch data by Apache before serving a SPA site hurt performance?

I have this application containing 2 parts: User-facing SPA web served by Apache NodeJS API server When a user go to the SPA web, Apache will do authentication and prefetch data for that user by ...
kkkkkkk's user avatar
  • 134
0 votes
1 answer
328 views

Does placing an httpd server in front of a Vert.x application defeats Vert.x's purpose?

I'm watching a talk on Vert.x (not in English) and they say that "the whole architecture needs to be asynchronous from beginning to end", and cites as an example of what not to do putting an Apache ...
garci560's user avatar
  • 267
1 vote
1 answer
311 views

Split requests between different server applications

I currently have a web server running apache with multiple sites on it using virtual hosts. I want to add a service to my server that is using nodejs but I want it to be accessible under the same ...
php_nub_qq's user avatar
  • 2,224
1 vote
2 answers
836 views

What problems arise from writing PHP for IIS/SQL Server rather than Apache/MySQL?

I'm a .NET developer, currently writing an ASP.NET site hosted on our local servers with Windows, IIS, and SQL Server. We're speaking to a company in India about hiring a developer for a different ...
Sinjai's user avatar
  • 131
1 vote
6 answers
1k views

Tackling malformed requests

We have a Java Application running on Tomcat as the AppServer & Apache as the Webserver. Currently, we are handling Malformed requests in the Application itself. However, I was wondering if it's ...
user93353's user avatar
  • 441
4 votes
2 answers
364 views

Are there worthwhile advantages to creating a separate docker container to handle http?

I've got a Python webapp running in docker container and a DB container/service, and I'm wondering if the apache/mod_wsgi functionality should be contained within the container that runs the python ...
JacobIRR's user avatar
  • 159
0 votes
1 answer
498 views

Send data between database and Apache Cordova app in a secure way

I'm developing a Cordova app and I've got the UI ready but I need data to my app from a database. For example I want my cordova app to include user authentication when the user opens the app which ...
Huezzer's user avatar
1 vote
0 answers
68 views

How to implement my own CMS hosted on a remote domain in all my projects?

So, I'm developing my own CMS which dynamically adjusts to the settings I have set on a specific domain. I just developed this whole CMS on my local machine and now facing the problem that I have ...
AlexioVay's user avatar
  • 137
0 votes
2 answers
278 views

Comet polling eating up CPU

I'm using comet polling in Joomla (PHP) application on shared hosting. I can't use either WebSockets or Node.js, as they might not be available on client's server. I managed to maintain only one ...
112233's user avatar
  • 147
3 votes
0 answers
523 views

Spark supports cyclic data flow

I read on http://spark.apache.org/ that Spark supports cyclic data flow. How can data flow be cyclic if the RDDs used by Spark are immutable? I thought the processing done by Spark looks like an ...
bsky's user avatar
  • 173
6 votes
1 answer
1k views

How do I go about setting up my Sinatra REST API on a server?

I'm an iOS developer primarily. In building my current app, I needed a server that would have a REST API with a couple of GET requests. I spent a little time learning Ruby, and landed on using Sinatra,...
Andrew's user avatar
  • 179
1 vote
2 answers
85 views

One C codebase as an standalone application as well as Fast-CGI and Apache module

I'm familiar with C, but haven't written any medium or large application in it. I have a requirement to built an application that can be run as a standalone console application as well as Fast-CGI and ...
Mahdi's user avatar
  • 1,993
13 votes
1 answer
7k views

Using code under Apache 2.0 License in my program using MIT License

I'm using source code from a code example that is licensed under the Apache 2.0 License in my program. Now I would like to publish that program and source code on GitHub using the MIT License. I've ...
MemphiZ's user avatar
  • 233
-1 votes
1 answer
2k views

Best Practices: URL Path Parameters [closed]

What's the current best practice around path parameters in URLs? For instance /artist/name A long time ago I might have made artist.html and then passed in a query parameter /artist.html?name=name ...
Shaun's user avatar
  • 249
0 votes
0 answers
1k views

Best practices to prevent DoS attack, PHP running bash script on apache server

I have a PHP page the sole purpose of which is to spawn a bash script to run some background code (10-15 seconds run time), and then forward to a second page. The second page waits for the background ...
user255406's user avatar
1 vote
2 answers
4k views

Serving a file from a private directory [closed]

I have a PDF that needs to be accessible for multiple unrelated areas across a website. I don't want to reveal anything about where the file is downloaded from and I want to only upload the file once. ...
nobrandheroes's user avatar
1 vote
2 answers
2k views

Strategy for creating a websocket relay? [closed]

I own a Raspberry Pi and would like to use it as some sort of websocket relay, so that all people who visit a specific webpage would be able to communicate with each other. The key thing about this is ...
Nicholas Hill's user avatar
0 votes
1 answer
6k views

Node.js on Apache server (Shared Hosting)

I would like to run Node.js/Express as a backend server mainly for handling WebRTC features in my app. I was just discussing this with my hosting provider and they rejected this request saying that ...
Awena's user avatar
  • 109
2 votes
1 answer
402 views

Can I include a modified GPL/Apache licensed font in my LGPL project?

I want to include a GPL & Apache duel-licensed font in my LGPL project, but didn't really find a clue if that's possible. There are two problems here: I didn't find any clue about Apache license'...
Felix Yan's user avatar
  • 123
3 votes
2 answers
243 views

Why HTTP Servers send information about themselves in HTTP Headers?

Most of the HTTP Servers I know send their application name and version in response http headers as default behaviour. (Nginx, IIS, Apache etc.) Of course we can change the default behaviour but I ...
burak emre's user avatar
2 votes
1 answer
729 views

Moving our web application from a windows development environment to linux environment seamlessly

I am trying to develop a web application on a windows machine using apache wicket, java, jquery etc. Apache wicket comes with an embedded jetty server. I am using eclipse as the IDE. The application ...
deb's user avatar
  • 125
0 votes
1 answer
1k views

Commercial use for embedded system

I am developing a embedded system (computer + os + programs) to sell it to a company. I am confused about the licensing and the softwares I wanted to use to develop the system.So I want to know if I ...
Cako's user avatar
  • 145
2 votes
1 answer
209 views

Editing Copyright line in Apache2 license.txt

I wish to publish my program under Apache2 license. I have added the "APPENDIX" part of the license text to the top portion of my source.txt file and edited the copyright year and name. But when ...
user258413's user avatar
1 vote
3 answers
1k views

Why should I use node.js as http server?

I know what node.js is & what it does. What I really want to know is how does it work as an http server? A server like apache gets a request, fork a process, allocate memory to process, handle ...
user avatar
13 votes
4 answers
1k views

What to do when your company doesn't encrypt passwords

Background I'm been contracted to help a company maintain their server. I work on some minor PHP projects but also look over performance issues and recently, scan logs for hackers. These guys have ...
bafromca's user avatar
  • 241
4 votes
2 answers
1k views

Session management in a Service Oriented Architecture

Where should you manage a users session in a SOA? Should you manage it in the Web Service or in the client and why? My application is SPA (Considering that this will be the stacked that will be used ...
user962206's user avatar
7 votes
1 answer
70k views

What is the difference between apache and tomcat in the xampp control panel? [duplicate]

I installed xampp in my machine. I wonder what is the difference between apache and tomcat in the xampp control panel. p/s: I started apache only and test with "localhost/index.html", it works. I ...
eric's user avatar
  • 79
10 votes
3 answers
2k views

Why do I have to keep my open source software license in the root?

Nearly all open source software licenses require (or at least lawyers generally suggest they require) users to include the full license in the root of the project that they are protecting. One lawyer ...
samthebrand's user avatar
4 votes
1 answer
154 views

License change of original source from Apache 2.0 to LGPL

About a year or so ago, I forked a project licensed under Apache 2.0 and made extensive changes and additions to the code, a good portion of which I contributed back freely to the community. ...
Adam Law's user avatar
  • 141
7 votes
3 answers
18k views

When should I use or not BooleanUtils.isTrue(...) and BooleanUtils.isFalse(...)? [closed]

About this function: org.apache.commons.lang3.BooleanUtils.isFalse(Boolean bool) and the similar isTrue, my co-work (less experienced) use it for every boolean in the code. I am trying to convince him ...
Felipe's user avatar
  • 319
1 vote
1 answer
869 views

Can I use select2 in my website?

I am working on project that deals in customer support. This website actually sells products ( so it is commerical ), and provides customer support. So in this project/website I was about to use ...
Rakesh Juyal's user avatar
15 votes
1 answer
4k views

Apache License and patents

I am trying to understand how Apache License affects patents. In regards to the Apache website http://www.apache.org/licenses/LICENSE-2.0 section 3, am I right to say for the first part that it is ...
Johnathan Au's user avatar
35 votes
9 answers
10k views

Developing on a production server

Today I got yelled at for developing an application on a production server. Quote, "developing on a production server is not acceptable - ever!" Here is the situation. I set up a development ...
luk3thomas's user avatar
8 votes
6 answers
17k views

Execute code every hour [closed]

I need to create a web service that executes every hour. It will be used to review data in a database and add alerts to a table in the same database if certain conditions are met/not met. What we ...
Linger's user avatar
  • 299
2 votes
6 answers
7k views

Is it possible to keep only one Database for both web and desktop applications?

I'm experiencing a trouble with my business model, let me explain better. I'm developing a software for 1 year and few months, it's for the food industry, more exactly a software to: Delivery, Take ...
devasia2112's user avatar
2 votes
2 answers
662 views

Work flow when editing files in /var/www. Constantly needing to input "sudo" commands

I installed Apache2 and PHP5 last night on my fresh Linux Mint machine. I created a folder and created a simple index.php file with a call to phpinfo() to test out the installation and every works ...
sergserg's user avatar
  • 1,882
-2 votes
2 answers
1k views

Simple questions about apache and cgi

I'm just learning about using cgi in html files. I've read a lot of stuff on the web, but most of it is all about the trees and not enough about the forest. I'm a top-down learner and I'm having ...
bev's user avatar
  • 407
5 votes
2 answers
3k views

What do I need to consider when using code under the Apache License in an application submitted to Mac App Store?

First off, I am new to licenses and app stores. There is an example app on a framework that has a Class file with much of the functionality I'll need for my own app. It's less than 1000 lines of code ...
kevin9794's user avatar
  • 153
5 votes
3 answers
3k views

What and all the areas of Linux a PHP developer should know about? (Like just commands of it or something advanced)

I've developed a website using PHP but I implemented it on Windows OS and hosted it on Windows server. I just searched the PHP job market to know the on-going technology requirement and to keep my ...
droidsites's user avatar
  • 1,027
3 votes
1 answer
603 views

Specifically for JS, CSS, HTML: what is the difference between optimization, compression, minification, tidying, concatenation?

When we talk about source code and the file which contains the code like CSS, HTML, JavaScript and we also talk about performance of a web site or application, what is the differences between these ...
Jitendra Vyas's user avatar
2 votes
2 answers
1k views

Using SVN along with WAMP

I would like to run SVN server on my local machine along with WAMP. All SVN server binaries include Apache. Whereas I don't need Apache as I'm already running WAMP. Please let me know if there are ...
John Eipe's user avatar
  • 117
2 votes
6 answers
255 views

Approaches to updating and adding features to PHP websites

I would like to know how people approach with developing their websites that are in production. For example:- How do you manage versions, etc. Also, do you create a subdirectory within the ...
user avatar
1 vote
1 answer
485 views

Advertising clause in Apache License

The Apache 1.0 license includes an advertising clause: Apache: All advertising materials mentioning features or use of this * software must display the following acknowledgment: * "This ...
Casebash's user avatar
  • 7,672