Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

-2
votes
0answers
32 views

Did i need Apache Ant in a Maven Project [closed]

we converted a old Java Project in a Maven Project. The Programmer before build the Project with Apache Ant. Did we need here Ant or can we do all things with Maven what Ant can do too? What is the ...
1
vote
0answers
14 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 ...
1
vote
0answers
49 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 ...
0
votes
1answer
51 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 ...
-3
votes
1answer
182 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 ...
2
votes
1answer
56 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 ...
3
votes
2answers
135 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 ...
0
votes
0answers
89 views

Long running jobs and restart of server due to continuous delivery

We have a bunch of tomcat servers running jobs. Jobs are triggered by a external scheduler and run anywhere from minutes to hours. We need to introduce continuous delivery to these servers. The ...
0
votes
1answer
95 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 ...
1
vote
1answer
210 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 ...
1
vote
2answers
481 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 ...
1
vote
6answers
380 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 ...
4
votes
2answers
152 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 ...
0
votes
1answer
234 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 ...
1
vote
0answers
49 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 ...
1
vote
1answer
212 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 ...
2
votes
0answers
332 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 ...
5
votes
1answer
778 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,...
1
vote
2answers
78 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 ...
6
votes
1answer
3k 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 ...
-1
votes
1answer
944 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 ...
0
votes
0answers
831 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 ...
0
votes
2answers
2k 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. ...
1
vote
2answers
989 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 ...
0
votes
1answer
5k 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 ...
2
votes
1answer
229 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'...
3
votes
2answers
205 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 ...
2
votes
1answer
600 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 ...
0
votes
1answer
879 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 ...
2
votes
1answer
109 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 ...
1
vote
3answers
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 ...
13
votes
4answers
952 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 ...
4
votes
2answers
955 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 ...
6
votes
1answer
59k 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 ...
10
votes
3answers
1k 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 ...
4
votes
1answer
98 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. ...
5
votes
3answers
8k 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 ...
1
vote
1answer
632 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 ...
12
votes
1answer
3k 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 ...
35
votes
9answers
9k 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 ...
8
votes
6answers
15k 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 ...
2
votes
6answers
5k 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 ...
2
votes
2answers
648 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 ...
-2
votes
2answers
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 ...
5
votes
2answers
2k 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 ...
5
votes
3answers
2k 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 ...
3
votes
1answer
562 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 ...
2
votes
2answers
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 ...
2
votes
6answers
245 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 ...
1
vote
1answer
346 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 ...