Here's my error_log file for Apache2:

[Tue Aug 25 07:39:31 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/wiki
[Tue Aug 25 07:39:36 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/w/index.php/SageMath
[Tue Aug 25 07:45:11 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/w/index.php/SageMath
[Tue Aug 25 07:45:15 2015] [notice] caught SIGWINCH, shutting down
gracefully
[Tue Aug 25 07:45:32 2015] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
apache2: Could not reliably determine the server's fully qualified domain
name, using 127.0.1.1 for ServerName
[Tue Aug 25 07:45:34 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31
OpenSSL/1.0.1p configured -- resuming normal operations
[Tue Aug 25 07:45:36 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/w/index.php/SageMath
[Tue Aug 25 07:47:33 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/linux
[Tue Aug 25 07:47:40 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/wiki

Where can I find the Listen, VirtualHost and Allow/Deny settings?

On 25 August 2015 at 07:44, Daniel Friesen <[email protected]>
wrote:

> Check your error logs, make sure Apache is actually running, and check
> your Listen, VirtualHost, and Allow/Deny settings.
>
> ERR_CONNECTION_REFUSED doesn't sound like the kind of thing that can
> result from a simple RewriteEngine usage. Unless an error killed apache.
>
> Most of the ERR_CONNECTION_REFUSED related SO answers seem related to
> Apache or a VirtualHost not listening on an IP or the order of
> Allow/Deny entries denying access.
>
> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
>
> On 2015-08-24 2:20 PM, Brenton Horne wrote:
> > Hi,
> >
> > I'm running Sabayon Linux (64-bit, up to date with all updates -- it's a
> > rolling release system to version numbers are irrelevant) and while I
> > managed to install MW 1.25.2 on it successfully I cannot seem to shorten
> > URLs properly. My MediaWiki base directory (i.e., the one with index.php,
> > LocalSettings.php, etc. in it) is /var/www/localhost/htdocs/w and I am
> > using MariaDB as my RDBMS, if relevant. To shorten my URL (from
> w/index.php
> > to wiki) I added:
> >
> > AllowOverride All
> > RewriteEngine On
> > RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
> >
> > to /etc/apache2/httpd.conf and added:
> >
> > $wgScriptPath = "/w";
> > $wgArticlePath = "/wiki/$1";
> > $wgUsePathInfo = true;
> >
> > to my LocalSettings.php file. I also ran:
> >
> > systemctl restart apache2
> > php maintenance/update.php
> >
> > after this. I then opened up http://localhost/wiki/Linux_Wiki (my main
> > page) in Google Chrome and got a page with the error message:
> >
> > This web page is not available
> >> ERR_CONNECTION_REFUSED
> >
> > I also tried opening up http://localhost/w/index.php/Linux_Wiki (where
> my
> > main page was prior to the URL shortening attempt) and got a page with
> the
> > same error message. Is there anything I have missed here? Btw, I had
> opened
> > up http://localhost/w/index.php/Linux_Wiki in Google Chrome prior to the
> > shortening attempt without issue, if you're wondering whether this was a
> > pre-existing problem. Sabayon if you are unfamiliar is a Gentoo
> derivative.
> >
> > Thanks for your time,
> > Brenton
> > _______________________________________________
> > MediaWiki-l mailing list
> > To unsubscribe, go to:
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



-- 
Thanks for your time,
Brenton
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to