subdomain edit

From PryMar56, 1 Year ago, written in Plain Text, viewed 147 times. This paste will kick the bucket in 1 Second.
URL https://pb.dynavirt.com/view/7780c043 Embed
Download Paste or View Raw
  1. [prymar56@dynavirt repo.dynavirt.com]$ diff -Nub ~/httpd.conf.bak /etc/httpd/conf/httpd.conf
  2. --- /home/prymar56/httpd.conf.bak       2023-02-20 13:28:50.433651708 -0800
  3. +++ /etc/httpd/conf/httpd.conf  2023-02-21 11:27:56.394279732 -0800
  4. @@ -454,6 +454,8 @@
  5.      CustomLog /var/log/virtualmin/repo.dynavirt.com_access_log combined
  6.      ScriptAlias /cgi-bin/ /home/dynavirt/domains/repo.dynavirt.com/cgi-bin/
  7.      ScriptAlias /awstats/ /home/dynavirt/domains/repo.dynavirt.com/cgi-bin/
  8. +    Alias /stream9 /home/dynavirt/domains/repo.dynavirt.com/stream9
  9. +    Alias /copr9 /home/dynavirt/domains/repo.dynavirt.com/copr9
  10.      DirectoryIndex index.php index.php4 index.php5 index.htm index.html
  11.      <Directory /home/dynavirt/domains/repo.dynavirt.com/public_html>
  12.          Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch
  13. @@ -467,6 +469,16 @@
  14.          SetHandler proxy:unix:/var/fcgiwrap/1676757565135582.sock/socket|fcgi://localhost
  15.          ProxyFCGISetEnvIf true SCRIPT_FILENAME "/home/dynavirt/domains/repo.dynavirt.com%{reqenv:SCRIPT_NAME}"
  16.      </Directory>
  17. +    <Directory /home/dynavirt/domains/repo.dynavirt.com/stream9>
  18. +        Options All Indexes FollowSymLinks MultiViews
  19. +        IndexOptions +FancyIndexing +HTMLTable +XHTML +IconsAreLinks +FoldersFirst -VersionSort +IgnoreCase +NameWidth=*
  20. +        Require all granted
  21. +    </Directory>
  22. +    <Directory /home/dynavirt/domains/repo.dynavirt.com/copr9>
  23. +        Options All Indexes FollowSymLinks MultiViews
  24. +        IndexOptions +FancyIndexing +HTMLTable +XHTML +IconsAreLinks +FoldersFirst -VersionSort +IgnoreCase +NameWidth=*
  25. +        Require all granted
  26. +    </Directory>
  27.      Protocols h2 h2c http/1.1
  28.      ProxyPass /.well-known !
  29.      RemoveHandler .php
  30. @@ -493,6 +505,8 @@
  31.      CustomLog /var/log/virtualmin/repo.dynavirt.com_access_log combined
  32.      ScriptAlias /cgi-bin/ /home/dynavirt/domains/repo.dynavirt.com/cgi-bin/
  33.      ScriptAlias /awstats/ /home/dynavirt/domains/repo.dynavirt.com/cgi-bin/
  34. +    Alias /stream9 /home/dynavirt/domains/repo.dynavirt.com/stream9
  35. +    Alias /copr9 /home/dynavirt/domains/repo.dynavirt.com/copr9
  36.      DirectoryIndex index.php index.php4 index.php5 index.htm index.html
  37.      <Directory /home/dynavirt/domains/repo.dynavirt.com/public_html>
  38.          Options +Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch
  39. @@ -506,6 +520,16 @@
  40.          SetHandler proxy:unix:/var/fcgiwrap/1676757565135582.sock/socket|fcgi://localhost
  41.          ProxyFCGISetEnvIf true SCRIPT_FILENAME "/home/dynavirt/domains/repo.dynavirt.com%{reqenv:SCRIPT_NAME}"
  42.      </Directory>
  43. +    <Directory /home/dynavirt/domains/repo.dynavirt.com/stream9>
  44. +        Options All Indexes FollowSymLinks MultiViews
  45. +        IndexOptions +FancyIndexing +HTMLTable +XHTML +IconsAreLinks +FoldersFirst -VersionSort +IgnoreCase +NameWidth=*
  46. +        Require all granted
  47. +    </Directory>
  48. +    <Directory /home/dynavirt/domains/repo.dynavirt.com/copr9>
  49. +        Options All Indexes FollowSymLinks MultiViews
  50. +        IndexOptions +FancyIndexing +HTMLTable +XHTML +IconsAreLinks +FoldersFirst -VersionSort +IgnoreCase +NameWidth=*
  51. +        Require all granted
  52. +    </Directory>
  53.      Protocols h2 h2c http/1.1
  54.      ProxyPass /.well-known !
  55.      RemoveHandler .php
  56. [prymar56@dynavirt repo.dynavirt.com]$ diff -Nub ~/httpd.conf.bak /etc/httpd/conf/httpd.conf > ~/subdomain-hack.diff
  57.  

Reply to "subdomain edit"

Here you can reply to the paste above

captcha