s****g 发帖数: 183 | 1 Linux RH8,apache下,将主页拷在/var/www/html/下,在其中建一link连到同目录下的一
子目录,用web browser无法打开该link,请教大虾如何解决?多谢。 | s**********i 发帖数: 711 | 2
1, what error message you got???
2, check permission of the directory
3, check whether you have indexing turned on if
there's no default file under that dir.
【在 s****g 的大作中提到】 : Linux RH8,apache下,将主页拷在/var/www/html/下,在其中建一link连到同目录下的一 : 子目录,用web browser无法打开该link,请教大虾如何解决?多谢。
| s****g 发帖数: 183 | 3 多谢。似乎第三点比较切中我的问题,子目录中只是一些jpg图片,我只是想能在browser
中打开目录,浏览图片。不知如何将indexing turned on? 非常感谢,不恁赐教。
的一
【在 s**********i 的大作中提到】 : : 1, what error message you got??? : 2, check permission of the directory : 3, check whether you have indexing turned on if : there's no default file under that dir.
| s**********i 发帖数: 711 | 4
two ways:
1, change web server configuration. or
2, if web server allows .htaccess override, you can write
a .htaccess for that directory to turn on indexing.
either way, you need to check the configuration first,
and may need right to change the configuration.
【在 s****g 的大作中提到】 : 多谢。似乎第三点比较切中我的问题,子目录中只是一些jpg图片,我只是想能在browser : 中打开目录,浏览图片。不知如何将indexing turned on? 非常感谢,不恁赐教。 : : 的一
| s****g 发帖数: 183 | 5 再谢。能否具体点,又谢。
多谢。似乎第三点比较切中我的问题,子目录中只是一些jpg图片,我只是想能在browser
【在 s**********i 的大作中提到】 : : two ways: : 1, change web server configuration. or : 2, if web server allows .htaccess override, you can write : a .htaccess for that directory to turn on indexing. : either way, you need to check the configuration first, : and may need right to change the configuration.
| s**********i 发帖数: 711 | 6 depends on what platform and webserver you use.
if apache, it's in http.conf file. for indexing,
either change the default or add a directory for
that specific dir and have
Options Indexes
【在 s****g 的大作中提到】 : 再谢。能否具体点,又谢。 : : 多谢。似乎第三点比较切中我的问题,子目录中只是一些jpg图片,我只是想能在browser
|
|