frogcenter
09-22-2007, 01:06 AM
I'm running Slackware 11.0 with...
Apache 2.2.4
PHP 5.2.2
MySQL 5.0.24
Mono 1.2.2
The Deki Wiki web files are in /var/www/htdocs/deki-hayes.
I tried to follow the Debian installation guide, but, of course, there were some differences!
My /etc/apache2 directory does not have a sites-available subdirectory, so I wasn't sure where to put deki-apache.conf. I tried putting it in /etc/httpd, /etc/apache2 and /etc/apache2/extra. Since I don't have a sites-enabled subdirectory, I didn't create that symbolic link either.
Although httpd.conf does load an http proxy module, I have no file called proxy.conf. So I wasn't sure where to put those <Proxy> tags.
Finally... I don't have an /etc/init.d subdirectory, so I didn't know where to put dekihost, and did not create a symbolic link to it. I ended up putting dekihost in /etc/apache2.
I was able to successfully complete the web configuration, but when I tried to go to <My IP>/deki-hayes/index.php I was redirected to <My IP>/index.php, which displayed the default Apache "It Worked!" message.
I tried putting the <Proxy> tags right in httpd.conf:
So I ended up just sticking these lines (for no good reason) into httpd.conf instead of proxy.conf:
<Proxy *>
AddDefaultCharset off
Order deny,allow
Deny from all
Allow from all
</Proxy>
ProxyPass /@api http://localhost:8081 retry=1
ProxyPassReverse /@api http://localhost:8081
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
This created some progress. Instead of being redirected to <My IP>/index.php, I ended up with a "Your Wiki Is Down" message.
Here is what my apache2 error log says:
(111)Connection refused: proxy: http: attempt to connect to 127.0.0.1:8081 (localhost) failed
ap_proxy_connect_backend disabling worker for (localhost)
I tried going to <My IP>:8081/deki/@about and got a "Problem Loading Page" in Firefox.
I do have other subdirectories in /var/www/htdocs so I don't want Deki Wiki to be the default site for my IP. I would like to access it by going to <My IP>/deki-hayes/index.php.
I would greatly appreciate any and all suggestions. I obviously don't know much about Linux so I'm out of ideas at this point.
Thank you!
Apache 2.2.4
PHP 5.2.2
MySQL 5.0.24
Mono 1.2.2
The Deki Wiki web files are in /var/www/htdocs/deki-hayes.
I tried to follow the Debian installation guide, but, of course, there were some differences!
My /etc/apache2 directory does not have a sites-available subdirectory, so I wasn't sure where to put deki-apache.conf. I tried putting it in /etc/httpd, /etc/apache2 and /etc/apache2/extra. Since I don't have a sites-enabled subdirectory, I didn't create that symbolic link either.
Although httpd.conf does load an http proxy module, I have no file called proxy.conf. So I wasn't sure where to put those <Proxy> tags.
Finally... I don't have an /etc/init.d subdirectory, so I didn't know where to put dekihost, and did not create a symbolic link to it. I ended up putting dekihost in /etc/apache2.
I was able to successfully complete the web configuration, but when I tried to go to <My IP>/deki-hayes/index.php I was redirected to <My IP>/index.php, which displayed the default Apache "It Worked!" message.
I tried putting the <Proxy> tags right in httpd.conf:
So I ended up just sticking these lines (for no good reason) into httpd.conf instead of proxy.conf:
<Proxy *>
AddDefaultCharset off
Order deny,allow
Deny from all
Allow from all
</Proxy>
ProxyPass /@api http://localhost:8081 retry=1
ProxyPassReverse /@api http://localhost:8081
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
This created some progress. Instead of being redirected to <My IP>/index.php, I ended up with a "Your Wiki Is Down" message.
Here is what my apache2 error log says:
(111)Connection refused: proxy: http: attempt to connect to 127.0.0.1:8081 (localhost) failed
ap_proxy_connect_backend disabling worker for (localhost)
I tried going to <My IP>:8081/deki/@about and got a "Problem Loading Page" in Firefox.
I do have other subdirectories in /var/www/htdocs so I don't want Deki Wiki to be the default site for my IP. I would like to access it by going to <My IP>/deki-hayes/index.php.
I would greatly appreciate any and all suggestions. I obviously don't know much about Linux so I'm out of ideas at this point.
Thank you!