I am attempting to access my plex web ui through a cleaner url. Currently, you can access it at http://marvin.boldlygoingnowhere.org:32400/web/index.html. I want it to be at http://marvin.boldlygoingnowhere.org/plex
Heres what I have,
marvin:~ Marvin$ httpd -v Server version:
Apache/2.4.16 (Unix)
Server built: Aug 22 2015 16:51:57
Server's Module Magic Number: 20120211:47
Server loaded: APR 1.4.8, APR-UTIL 1.5.2
Compiled using: APR 1.4.8, APR-UTIL 1.5.2
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/bin/suexec"
-D DEFAULT_PIDLOG="/private/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/private/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/private/etc/apache2/httpd.conf"
In
/private/etc/apache2/extra/httpd-vhosts.conf
Listen 80
# Listen for virtual host requests on all IP addresses
<VirtualHost *:80>
ServerName marvin.boldlygoingnowhere.org
ErrorLog "/private/var/log/apache2/marvin-error_log"
CustomLog "/private/var/log/apache2/marvin-access_log" common
ServerAdmin admin@futurehax.org
ProxyRequests Off
<Proxy http://marvin.boldlygoingnowhere.org/plex>
Order deny,allow
Allow from all
ProxyPreserveHost off
ProxyPass http://localhost:32400
ProxyPassReverse http://localhost:32400
</Proxy>
</VirtualHost>
/private/etc/apache2/httpd.conf
Uncommented
Include /private/etc/apache2/extra/httpd-vhosts.conf
and
LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
My expectation with this current setup is to be able to reach http://marvin.boldlygoingnowhere.org/plex/web, instead I get a 404.
I am a mobile software engineer, but this is one of my first adventures into networking and its beating me down pretty hard.