#apache
30 December 2007
Total 11 pages. You are browsing page 4/11.
First :: Prev :: [...] [2] [3] [4] [5] [6] [...] :: Next :: Last
07:04 <****> ya
07:04 <****> ok...
07:04 <****> should be as simple as...
07:05 <****> Alias /postfixadmin /usr/local/www/postfixadmin
07:05 <****>
07:05 <****> actually... i'll pastebin a bare example...
07:05 <****> k
07:06 <****> ok check this out
07:06 <****> k
07:07 <****> i just did apt-get install apache apache-doc on debian, if I go to localhost/doc I can get a directory listing for my /usr/share/doc which is huge
07:08 <****> actually it only works with /doc/ the trailing slash
07:08 <****> ...
07:09 <****> Naphidia: http://rafb.net/p/MIb02984.html
07:09 <****> block
07:09 <****> k
07:09 <****> im not but thats an idea too
07:09 <****> you should probably find out
07:10 <****> i don't use fbsd or ports, so i don't know how they do their apache layout
07:10 <****> fajita: default layout
07:10 <****> Pop along to http://wiki.apache.org/httpd/DistrosDefaultLayout for an idea on where the main distros place Apache files.
07:10 <****> thats okay
07:10 <****> that wiki page might know...
07:10 <****> i can fix it to work
07:10 <****> :)
07:10 <****> its a good example
07:11 <****> i'll take your word for it...
07:17 <****> k..I'm having an issue (not really an issue, but I can't fix it)
07:17 <****> I need a directory to show all of the files contained within.
07:18 <****> (Example, there is no index file, so I need it to show all the files in the dir)
07:20 <****> any ideas?
07:20 <****> thinking is *hard*!
07:20 <****> Agreed.
07:21 <****> Could it be a permissions problem?
07:24 <****> Options indexes
07:24 <****> Options +Indexes allows a directory listing to be displayed if there is no index document in the directory the user requested.
07:24 <****> I did that
07:24 <****> :\
07:25 <****> and?
07:25 <****> you haven't stated what you're seeing
07:25 <****> so... who knows what the problem could be
07:26 <****> I'm getting a Forbidden error
07:26 <****> good
07:26 <****> No acces to "/."
07:26 <****> now...
07:26 <****> fajita: 403
07:26 <****> 403 is Forbidden or don't forget to look in the error log
07:26 <****> I restarted apache, with no go
07:26 <****> read your error log
07:26 <****> it'll tell you what the cause of the forbidden error
07:26 <****> whether it's permission or server config
07:27 <****> hmm it says the server has declined to show this page
07:27 <****> [Sun Dec 30 00:27:27 2007] [error] [client 192.168.1.1] (2)No such file or directory: Can't open directory for index: /usr/home/phlux/Music/
07:27 <****> what would cause that ?
07:28 <****> that would suggest a 404, not a forbidden
07:28 <****> *shrugs*
07:28 <****> Naphidia: um... dunno... never seen that one before either
07:29 <****> phlux: does that directory exist?
07:29 <****> Yes
07:29 <****> and what distro are you on?
07:29 <****> d'og
07:29 <****> d'oh, rather
07:29 <****> It's an external drive that's mounted there
07:29 <****> Seems to have come unmounted
07:29 <****> mkay
07:30 <****> so um... mount it and try again...
07:30 <****> yep
07:30 <****> [Sun Dec 30 06:28:21 2007] [error] [client 192.168.0.121] client denied by server configuration: /usr/local/www/postfixadmin/admin
07:30 <****> logs say it was denied
07:31 <****> and what do you have for your config?
07:31 <****>
07:31 <****> Options Indexes
07:31 <****> AllowOverride AuthConfig
07:31 <****>
07:31 <****> Options +Indexes allows a directory listing to be displayed if there is no index document in the directory the user requested.
07:31 <****> tells Apache that authentication/authorization directives are permitted in .htaccess files.
07:31 <****> Naphidia: is that directory a subdir in the docroot?
07:31 <****> yeah
07:32 <****> so you changed your docroot?
07:32 <****> also, i'm guessing you're doing htaccess for that dir?
07:33 <****> iirc, htaccess requires that you have followsymlinks set for an option as well...
07:34 <****> other than that, what you've just pasted seems to indicate what you asked earlier is different than what it appears you're trying to achieve...
07:37 <****> im getting a 403 now
07:37 <****> [Sun Dec 30 06:28:21 2007] [error] [client 192.168.0.121] client denied by server configuration: /usr/local/www/postfixadmin/admin
07:37 <****> that already denotes a 403
07:39 <****> yeah
07:39 <****> why would it be forbidden ?
07:43 <****> you haven't set access in the directory block
07:43 <****> put in order allow,deny and allow from all
07:43 <****> see if that tingles your mingles...
07:56 <****> nada didnt work
07:57 <****> you took out indexes... did you set up directoryindex?
07:57 <****> what if you specified an actual file in that dir? can you access it?
07:57 <****> actually the error would tell you that indexes not enabled...
07:58 <****> so um... nvm, i guess...
07:58 <****> idk
07:58 * megaspaz goes back to pac the man x...
07:59 <****> hmm
07:59 <****> i got it to read the .htaccess file
07:59 <****> but its trying to get me to save the symlink i created
07:59 <****> wtf
Total 11 pages. You are browsing page 4/11.
First :: Prev :: [...] [2] [3] [4] [5] [6] [...] :: Next :: Last
