Hey I'm having a tough time producing a working NGINX configuration for my
wiki, would appreciate some guidance.
I've produced an almost working configuration using
http://shorturls.redwerks.org/ - the only issue is that resources (CSS and
images) fail to load.
The config is here:
http://hastebi
I'll be damned it worked. I added:
RewriteEngine On
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
to default_vhost.include between the tags and now my short URL
works. Thanks a million, mate!
On 25 August 2015 at 08:52, Brenton Horne wrote:
> No *.conf files in /etc/apache2/vhos
No *.conf files in /etc/apache2/vhosts.d contains DocumentRoot
"/var/www/localhost/htdocs" but a file called default_vhost.include in this
/etc/apache2/vhosts.d directory does
On 25 August 2015 at 08:41, Daniel Friesen
wrote:
> That's not the file you're supposed to put the config.
>
> Your vhos
That's not the file you're supposed to put the config.
Your vhost files are included from `/etc/apache2/vhosts.d/*.conf`.
One of those has a entry with a DocumentPath of
`/var/www/localhost/htdocs`.
That is the file you're supposed to put the short URL config in. (Inside
the )
~Daniel Friesen (
Here's my httpd.conf file: http://pastebin.com/raw.php?i=rmP7jbYL
On 25 August 2015 at 08:19, Daniel Friesen
wrote:
> Ok, it's getting requests. But the RewriteEngine rule isn't listened to,
> there's no error saying RewriteEngine isn't available, and Apache's
> standard /index.php/... handling
Ok, it's getting requests. But the RewriteEngine rule isn't listened to,
there's no error saying RewriteEngine isn't available, and Apache's
standard /index.php/... handling isn't even taking effect.
...there is something terribly wrong with this Apache's configuration.
What does the file where y
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 :
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_REFUSE
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,
Loca
I know this is more of an apache question, but it should be a slam-dunk
and I am stuck..
I am trying to get short URLs working. I've configured mod-rewrite
before on other systems and I can't find anything wrong with any of the
various setups I've tried, but mod_rewrite is being ignored.
He
10 matches
Mail list logo