jrossi227 / apachegui Goto Github PK
View Code? Open in Web Editor NEWJava based Apache http server GUI that is accessible through a web browser.
Home Page: http://apachegui.net
License: Other
Java based Apache http server GUI that is accessible through a web browser.
Home Page: http://apachegui.net
License: Other
Just a small flaw: Downloading the release tarball via
https://github.com/jrossi227/ApacheGUI/releases/download/v1.12.0/ApacheGUI-1.12.0.tar.gz
or the source tarball via
https://github.com/jrossi227/ApacheGUI/archive/v1.12.0.tar.gz
I got at least under Linux with "Firefox" or "wget" (if using the option --content-disposition) principally the same local filename ApacheGUI-1.12.0.tar.gz
for two tarballs with different contents (since in the second case the GitHub server sends the HTTP header Content-Disposition: attachment; filename=ApacheGUI-1.12.0.tar.gz
).
This is not an issue, as it is rather a humble question.
I am running ApacheGUI along my HTTPd Docker image and would like to know where the ApacheGUI specific configuration is being saved so that I can map that location into a volume and avoid having to do the basic GUI setup (server root, username, password) everytime I deploy a new container version.
Thank you in advance for your reply.
Best regards
Provide SQLite support for the ARM compiler.
https://github.com/xerial/sqlite-jdbc
https://bitbucket.org/xerial/sqlite-jdbc/downloads
Add a graphical tree view to look at, and edit each virtual host.
Currently .htaccess files are opened in the Document editor using the Plain Text mode. These files should be opened using the Conf mode.
It is not possible to compress and unzip files or folders. Missing function
Hello!
How should I debug this?
Installing the service 'ApacheGUI' ...
Using CATALINA_HOME: "C:\ApacheGUI-x64-1.11.0\tomcat"
Using CATALINA_BASE: "C:\ApacheGUI-x64-1.11.0\tomcat"
Using JAVA_HOME: ""
Using JRE_HOME: "C:\Program Files\Java\jre-9.0.4"
Using JVM: "C:\Program Files\Java\jre-9.0.4\bin\server\jvm.dll"
The service 'ApacheGUI' has been installed.
The Apache Tomcat 7 ApacheGUI service is starting.
The Apache Tomcat 7 ApacheGUI service could not be started.A service specific error occurred: 4.
More help is available by typing NET HELPMSG 3547.
Convert project to maven structure for portability.
We can use http://maven.apache.org/plugins/maven-antrun-plugin/ to continue use of the custom build scripts.
If I paste my current main configuration file "apache.conf" which include other .conf's and has some number of variables "Define VAR VAL" then ApacheGUI always show an error like"
[Error x]
${VARIABLENAME}\includepath\includefile.conf (system can't find path/file)
It is possible to run apachegui if I copy my main apache.conf to default Apache/conf/httpd.conf and change all variables to their values. It's unacceptable, so...
Seems like ApacheGUI project is abandoned so no chances to fix that?
I am running:
Server version: Apache/2.4.39 (Fedora)
Server built: May 2 2019 14:50:28
But I get the message:
This version of apache does not appear to be supported. Supported versions include Apache 2.2, Apache 2.3, Apache 2.4.
Yesterday I ran it on Ubuntu 2.4.29
and it worked fine.
The ApacheGUI service should be stopped and completely removed before uninstallation.
If server configuration file is not default httpd.conf and not in default Apache/conf/ directory then there is no possibility to access that configuration.
Writing directory where current .conf file are as a ServerRoot is not accepted.
Nondefault filename, for ex "apache.conf" is not accepted/detected.
Seems ApacheGUI project is finished so this issue possible never be fixed?
If you configure a virtualhost with Servername in 443 port this error appear:
There was an error processing the Virtual Hosts.
There are duplicate hosts with the following values:
File: /etc/apache2/sites-available/cms.pasello.com-ssl.conf Line: 1
ServerName: cms.pasello.com:443
NetworkInfo: 192.168.254.104:443
File: /etc/apache2/sites-available/cms.pasello.com-ssl.conf Line: 1
ServerName: cms.pasello.com:443
NetworkInfo: 192.168.254.104:443
You must fix the configuration error before using the Virtual Host functionality
I have tried installing ApacheGUI in a Raspberry pi 4, arm x64 and when trying to log into the user interface I get the below error.
I am running Ubuntu 20.04 and apache2.
ubuntu: conf/ :/usr/sbin/apache2 -v
Server version: Apache/2.4.41 (Ubuntu)
Server built: 2020-08-12T19:46:17
JAVA_HOME is set :
ubuntu: conf/ :echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk-arm64
Apache started
ubuntu: bin/ :sudo ./run.sh
./run.sh: 1: [: -ne: unexpected operator
Using CATALINA_BASE: /usr/local/apachegui/ApacheGUI/tomcat
Using CATALINA_HOME: /usr/local/apachegui/ApacheGUI/tomcat
Using CATALINA_TMPDIR: /usr/local/apachegui/ApacheGUI/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/local/apachegui/ApacheGUI/tomcat/bin/bootstrap.jar:/usr/local/apachegui/ApacheGUI/tomcat/bin/tomcat-juli.jar
Tomcat started.
I tried a number of things but simply can't figure out what might be wrong.
ERROR when trying to access 192.169.1.31:9999/ApacheGUI
type Exception report
message
description The server encountered an internal error that prevented it from fulfilling this request.
exception
java.lang.IllegalMonitorStateException
java.base/java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:372)
java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1302)
java.base/java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:1147)
net.apachegui.locks.LockManager.unlockWrite(LockManager.java:181)
net.apachegui.db.JdbcConnection.closeConnection(JdbcConnection.java:99)
net.apachegui.db.SettingsDao.getAllSettings(SettingsDao.java:200)
net.apachegui.db.SettingsDao.<init>(SettingsDao.java:28)
net.apachegui.db.SettingsDao.getInstance(SettingsDao.java:36)
net.apachegui.tomcat.ApacheGUIRealm.findSecurityConstraints(ApacheGUIRealm.java:13)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.base/java.lang.Thread.run(Thread.java:834)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.85 logs.
User should be able to use ApacheGUI without logging in every time. Ideal for local development.
Hello there!
I'm trying to get Apache GUI to run in my HTTPd docker container, but it simply won't start. I always get this error:
ash: 0: unknown operand
/opt/ApacheGUI/bin/run.sh: exec: line 6: ../tomcat/bin/startup.sh: not found
For reference, here is my complete Dockerfile based on Alpine Linux:
FROM httpd:alpine
RUN apk update && apk upgrade
# Install JDK, which is required for Apache GUI
RUN apk add openjdk8
# Install CURL to download Apache GUI
RUN apk add curl
# Set WORKDIR to future home of Apache GUI
WORKDIR /opt/
# Download and unpack Apache GUI
RUN curl -SL https://sourceforge.net/...
# Expose ports for HTTPd
EXPOSE 80 443
# Expose port for Apache GUI
EXPOSE 9999
# Start Apache GUI
ENTRYPOINT /opt/ApacheGUI/bin/run.sh
Just to be sure, I even tried building a container on top of Debian Jessie. Here is the Dockerfile:
FROM httpd:latest
# Some housekeeping
RUN apt-get -y update
RUN apt-get -y install apt-utils
RUN apt-get -y install curl
RUN apt-get -y upgrade
RUN apt-get -y dist-upgrade RUN apt-get -y autoremove
RUN apt-get -y autoclean
# Install JDK, which is required for Apache GUI
RUN apt-get -y install default-jdk
# Set WORKDIR to future home of Apache GUI
WORKDIR /opt/
# Download and unpack Apache GUI
RUN curl -SL https://sourceforge.net/...
# Expose ports for HTTPd
EXPOSE 80 443
# Expose port for Apache GUI
EXPOSE 9999
# Start Apache GUI
ENTRYPOINT /opt/ApacheGUI/bin/run.sh
If you could give me a solution or at least any hint for this, I'd really be incredibly grateful!
Kind regards
Any synchronous ajax should be made asynchronous and use an appropriate callback.
We currently only support english. It would be nice to add localization to support multiple languages. We will need help with the translations in multiple languages.
Source forge needs a logo, we also need a favicon to display in the browser.
Create read only mode and make sure all interactions are thread safe
Hi,
Thank you very much for this very useful project that is provided freely.
Unfortunately I'm not able to build it from source when following instructions from Readme.md.
Maybe someone could provide a docker builder image as Dockerfile?
Thanks in advance
Mac OSX
Server Root – /usr
Primary Configuration File – /etc/apache2/httpd.conf
Configuration Directory – /etc/apache2
Log Directory – /var/log/apache2
Modules Directory – /usr/libexec/apache2
Binary File – /usr/sbin/apachectl
Debian, Ubuntu, Other Debian variants
Server Root – /etc/apache2
Primary Configuration File – /etc/apache2/apache2.conf
Configuration Directory – /etc/apache2
Log Directory – /var/log/apache2
Modules Directory – /usr/lib/apache2/modules
Binary File – /usr/sbin/apache2ctl
Fedora, CentOS, RHEL, other fedora variants
Server Root – /etc/httpd
Primary Configuration File – /etc/httpd/conf/httpd.conf
Configuration Directory – /etc/httpd
Log Directory – /var/log/httpd
Modules Directory – /etc/httpd/modules
Binary File – /usr/sbin/apachectl
OpenSUSE and SLES
Server Root – /etc/apache2
Primary Configuration File – /etc/apache2/httpd.conf
Configuration Directory – /etc/apache2
Log Directory – /var/log/apache2
Modules Directory – /usr/lib/apache2 (32 bit OS) or /usr/lib64/apache2 (64 bit OS)
Binary File – /usr/sbin/apache2ctl
If localhost is inaccessible we should be able to grab the server status using the configured ip address. Right now we are grabbing the port from the Listen directive and trying to connect to localhost.
Listen 192.168.1.3:888
Hi,
I am trying to deploy my project on the Apache server and I have followed all the guidelines from start to finish, but somehow when I try to load the Apache server using the IP address, it gives a 404 Not Found error.
I have followed these steps when deploying the app:
After following all these steps initially there were a few errors in the program itself which were indicated by the error.log file and an Internal error occurred when I tried to load it on the browser. However, once I corrected all the issues, the error 404 page not found occurred.
I also want to point out that before making the .conf file, I used the IP address in the browser, and the Apache intro page was displayed which means that before making the changes Apache was running fine.
I have also tried to deploy a smaller project to the Apache server, but I got the same error again.
If anyone knows how to fix this issue, let me know,
Thanks
if there is a missing directory in the PATH then history fails to be enabled.
11:23:01,113 ERROR BaseControllerAdvice:24 -
java.lang.NullPointerException
at net.apachegui.global.Utilities.getJavaExecutablePath(Utilities.java:248)
at net.apachegui.history.History.getIncludeStrings(History.java:42)
at net.apachegui.history.History.getIncludeString(History.java:64)
at net.apachegui.history.History.globalEnable(History.java:82)
at net.apachegui.web.HistoryController.updateGlobal(HistoryController.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Add an advisory when first launching ApacheGUI to advise the user when they should select package or source.
The current updater functionality works by downloading a new webapp and re-deploying it on the local Tomcat server.
The Tomcat instance that runs on Windows sometimes fails to re-deploy a web application while the Tomcat server is running. We need to re-think the Windows updater to stop the Tomcat instance, deploy the new webapp and then start the Tomcat instance.
<IfModule php5_module>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>
When you have the IfModule above you can see the AddType twice in global settings.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.