linux:useful_apache
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:useful_apache [2020/05/25 08:25] – created bstafford | linux:useful_apache [2022/11/23 12:49] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| END_OF_TEXT | END_OF_TEXT | ||
| service httpd restart</ | service httpd restart</ | ||
| - | =Disable HTTP Trace= | + | =====Disable HTTP Trace===== |
| < | < | ||
| RewriteEngine On | RewriteEngine On | ||
| Line 30: | Line 30: | ||
| } | } | ||
| END_OF_TEXT</ | END_OF_TEXT</ | ||
| + | ====Symbolic Links==== | ||
| + | By default symbolic links may not work on Apache on CentOS. Assuming the symlink we are considering points to /example, then use the following command. This will add the appropriate SELinux context to the / | ||
| + | < | ||
| + | Replace < | ||
| + | ====XAuth==== | ||
| + | When using an xauth, you may get this error | ||
| + | < | ||
| + | The solution is to fix the SELinux permissions | ||
| + | < | ||
| + | ====Allow Perl to Connect To MySQL==== | ||
| + | Run this command to allow Perl to connect to Database server while still having SELinux enabled. | ||
| + | < | ||
| + | |||
| + | |||
| + | |||
linux/useful_apache.1590395146.txt.gz · Last modified: (external edit)
