-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm trying to setup a local apache server to serve a mirror of some
repos.
In httpd.conf.local I have written:
Options FollowSymLinks Indexes Includes
AllowOverride All
IndexOptions FancyIndexing \
ScanHTMLTitles \
NameWidth=* \
FoldersFirst
order deny,allow
deny from all
allow from localhost .valinor 192.168.1.51 192.168.1.52
</Directory>
However, browsing to "http://localhost/data/waterhoard/mirrors" produces
error 404, Object not found!
The directory in the filesystem is indeed correct.
However, I have the file /srv/www/htdocs/index.html, which contains:
<a href="/ficheros/mirrors" title="Mirrors">[Mirrors]</a> <br>
which works, combined with this definition:
Options FollowSymLinks Indexes Includes
AllowOverride All
IndexOptions FancyIndexing \
ScanHTMLTitles \
NameWidth=* \
DescriptionWidth=* \
SuppressLastModified \
SuppressSize
order deny,allow
deny from all
allow from localhost .valinor 192.168.1.51 192.168.1.52
</Directory>
There is this directory structure:
/srv/www/htdocs
/ficheros
~mirrors -> /data/waterhoard/mirrors
What would be the correct structure so that:
"http://localhost/data/waterhoard/mirrors" works, or even better,
"http://localhost/mirrors"
The later I think should be just an alias, but first I must make the
prior http request to work.
- --
Cheers
Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iEYEARECAAYFAleIDP4ACgkQtTMYHG2NR9XpZQCfSLRToDi36SKB2T4UNDCetb+4
iuUAn0b1mEFBLakTm1d8PqzEb1hy9vgq
=1vMB
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org