Skip to content

Java fcgi server creation#2

Merged
NF-coder merged 6 commits intodevfrom
basic-java-fcgi
Sep 7, 2025
Merged

Java fcgi server creation#2
NF-coder merged 6 commits intodevfrom
basic-java-fcgi

Conversation

@NF-coder
Copy link
Copy Markdown
Member

@NF-coder NF-coder commented Sep 7, 2025

FastCGI server that provides information about the location of a point in the desired area.

It does NOT have user input validation.

Theoretically it accepts GET requests on / with params x (int [-4,4]), y (float [-3 5]), r (float [1,3] with 0.5 step)
But itsn't integrated with httpd server yet, so not ready to accept connections.

Known problems:
	- no validation for user input
	- doesn't work without apache server (but it's ok?)
How to build:
	1. mvn install:install-file -Dfile=./lib/fastcgi-lib.jar -DgroupId=com.fastcgi -DartifactId=fastcgi -Dversion=1.0 -Dpackaging=jar
	2. mvn clean package
Also you can run `install lib` and then `build lab1` in IDEA to build jar archive.
All requests to /fcgi-bin/ sends to FastCGI server
Changes:
	- enabled modules/mod_proxy.so and modules/mod_proxy_fcgi.so modules
	- apache forwards all requests to /fcgi-bin/ endpoint to jar via enternal network
@NF-coder NF-coder added the enhancement New feature or request label Sep 7, 2025
@NF-coder NF-coder merged commit ddfd3dd into dev Sep 7, 2025
1 check failed
@NF-coder NF-coder deleted the basic-java-fcgi branch September 7, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant