Related Topic:







Your question is confusing to me. Why would it do anything *other* than go to that URL?
If you removed the rewrite rule, and you request http://uri/view/blabla.html then surely it's going to open http://uri/view/blabla.html
Perhaps you need to describe the scenario a little more fully.

hmm, i had .htaccess file in docroot with "RewriteRule ^view/([a-zA-Z]+).html/?$ view.php?s=$1 [L]"
so it was redirecting to view.php
than i remove .htaccess (rm -f .htaccess)
and its still opening view.php

Ah. That's the opposite of what you said before.

/view/ directory doesnt exist on server

Clear your browser cache.

ctrl-f5?

asp on apache

asp on apache is http://httpd.apache.org/docs/misc/FAQ.html#asp or mod_mono or chilisoft or mod_aspdotnet

I don't know what ctrl-f5 does on your particular browser or operating system. it does nothing on mine. Open the browser options and clear your browser cache.

i just started another browser (this time its IE) and it surely doesnt have that url in cache
and same thing happened

Sample URL?

Could you please give us a URL at which the behavior is demonstrated. This would help us troubleshoot the problem.

However, if the redirect/rewrite is still happening, then there's another rewrite rule elsewhere, either in another .htaccess file, or in the main server config.
Or, possibly, there's a network HTTP caching server hosting at work.

ok, ill do lynx from totaly different host
same thing happened

Then you need to look for other .htaccess files, or for this rule in the main config file(s).

`grep -ri rewrite .` in docroot shows nothing

And in the server configuration directory?

same thing
except LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
how come it doesnt error on garbage in .htaccess?

AllowOverride None

AllowOverride None means "Please ignore my htaccess files." and is the default setting. or See http://www.onlamp.com/pub/a/apache/2003/12/04/apacheckbk.html

Which further supports the notion that the rewrite is somewhere in your main config file.
However, if it's not, then I have to fall back on the theory of gremlins and trolls.
Or a redirect in the index.html file itself.
Or perhaps you're proxypass'ing to a backend server that is redirecting.

i doubt

You doubt the gremlins, or you doubt .. what?

there is no proxy
lynx from localhost is getting the same effect

I was speculating. You've given us very little to go on.
Yes, lynx from localhost is going to give the same result.

i dont know much more

Your tests indicate that .htaccess files are not enabled.

i mean, its default config

This proves that the redirect is coming from somewhere other than the .htaccess file.

yea i did allowoverride none too
aham

Which means it is in the main config, or it's in the index.html file itself, or it's perhaps in code somewhere.

but how did it open http://url/view/ when that folder does not exist?

Perhaps there's a main index.php (or something) file that responds to URLs of that nature.
Like I said, we have very little to go on here, so I'm not sure what more to guess.

well, how can index.php respond to http://url/view/ if apache didnt rewrite it ?
im trying to find where did it rewrite

options

options is http://httpd.apache.org/docs/2.0/mod/core.html#options or http://httpd.apache.org/docs/1.3/mod/core.html#options or see 'Options Context' Don't mix 'relative' and 'absolute' values. See: http://www.onlamp.com/pub/a/apache/2005/09/08/apacheckbk.html

grep -ri rewrite /etc/apache2 didnt give anything

can anyone recommend me a good bandwidth module? :X

I think we already eliminated rewrite as the cause of this. Perhaps there's a rewrite somewhere, but it seems not.

i'm having some problems here - i've got the error from the error_log and my configuration that i thought would fix this problem here: http://pastebin.ca/628097

is it possible that rewrite rules are cached?

No.

AllowOverride

AllowOverride tells Apache what things you wish to permit in .htaccess files. See http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride

Override
thanks fajita :/

it surely redirects to /view/... to view.php
like that rule is cached or somewhere else

It appears that way, doesn't it. However, rewrite rules are not cached.

rewritelog file is empty

While that doesn't directly prove anything, it might support the notion that this has nothing to do with mod_rewrite.

fg

bg

It'll be very hard to speculate further without more information about your setup. I'm just guessing from this point on.

ok, what can i give you of information?

does anyone have any idea why my httpd will not follow symlinks? i have the same config in two httpd servers on two boxes =/

That question is slightly circular. If I knew what to look for, I would probably know what was happening.
I suppose if this were my server, I'd poke through all the config files, and what they include. I would poke through the index.* files in the document directory. I would look for RewriteRule directives with [P] flags, or ProxyPass directives.
It requires a thorough troubleshooting. It's not anything obvious that I know to tell you to look for.

i cannot get in to your irc server

you can now

If I have a script for example test.cgi in my cgi-bin, but I want users to be able to run that script by going to mywebsite.com/test how do I do that
?

The simplest way is to rename test.cgi to test

3 2007] [error] [client 74.218.88.130] Symbolic link not allowed:

That way you don't have to do any strange workarounds or rewrites.

yet in that directory state i've Options Indexes +FollowSymLinks

What is the symlink? ie, from where, to where?

/home/bbuser/bb1.9i-btf/www

that what you're looking for?

not Directory /var/www/html/bb

DrBacchus, what would i do after that?

That's it. That's the whole solution.

DrBacchus, thanks

ok, so ive tested it on another server, another machine
same thing happends

A few weeks ago, we were talking about squid/mod_proxy and such, and someone recommended another project, a Russian proxy/lower-level httpd tool. Anyone recall the name?

DrBacchus, wait, if I name it test and it exists in my cgi-bin, my user stilll has to go to www.site.com/cgi-bin/test to use it not www.site.com/test like i want

Directory "/var/www/html"
Options Indexes FollowSymLinks
DrBacchus - like that?

oke here is the thing http://tr.wikipedia.org/w/ you cannot access this page it says forbidden you dont have permission to access /w/ on this server but you can access this page

how did they prevent accessing /w/

?
hi for all

Yes.
It's for the directory from which the symlink is made.

is there any way to have an htaccess require authorization - yet any /username/ can be used, but it needs a set password?

http://tr.wikipedia.org/wiki/Ana_Sayfa

DrBacchus - that is already there, and has been - default for centos' httpd package =(

ie, I want the password entered to be "aokay" but they can enter any username they want?

The module that does tat is called mod_aut_anon
mod_auth_anon

mod_auth_anon is 7http://httpd.apache.org/docs-2.0/mod/mod_auth_anon.html

DrBacchus, ? please read up

Damn, apache 2? I'm still on apache 1, bummer.

So change that 2.0 to a 1.3
Then move it to your documentroot

Ah, score

SetHandler cgi-script /Files

DrBacchus, but then it wont execute as a perl file
DrBacchus, add that where

In your apache configuration file.

DrBacchus, anywhere?

http://nginx.net/
http://wiki.codemongers.com/Nginx

In the scope where you want it to work, yeah.

SetHandler cgi-script /Files

Yes.

DrBacchus, finnaly, put this in sites-enabled configu or in apache.conf

but its server,

Yes.

somewhere in config

DrBacchus, yes to which?

sites-enabled config or in apache.conf.

DrBacchus, thank you

hii guys how can I prevent someone to access my directory on server
?

access

ask me about mod_access

mod_access

mod_access is http://httpd.apache.org/docs-2.0/mod/mod_access.html or http://httpd.apache.org/docs/mod/mod_access.html Called mod_authz_host in 2.1 and later

oke

apache.conf if you want this global, sites-enabled config if you want it local to a particular virtual host.
That's waht I mean when I say "in the scope where you want it to work"
You choose the scope yourself.

Syntax error on line 452 of /etc/apache2/apache2.conf:

was not closed.

Sorry. I assumed some basic familiarity with Apache configuration file syntax.

is one line.

SetHandler is the next line.

is the next line.

great sorry
Access Forbidden!

ok, only difference regarding mod_rewrite between those servers is version. the working one is 2.0.54 and non-working one is 2.2.3

i change the dir where is the place for libexec DocumentRoot "/usr/local/www/apache22/data"?

What, exactly, does the error log say?

goddamnit, i thought these people had a reasonable DDoS filter
*:

9 2007] [error] [client 72.244.214.3] Options ExecCGI is off in this directory:

Add ExecCGI to the Options line for Directory /var/www

for mods

ok

does it matter if it's 'serveralias' in httpd.conf not ServerAlias ?

its not exicuting that dir.. it goes the dir that i inputed..

DrBacchus, got it great!

No, all Apache configuration directives are case insensitive.

DrBacchus thanks

where in httpd.conf libexec inputs are??
the dir that i inputed was wrong.. so it wont work the mod
?
n/m
i got it

how the hell is this guy capable of taking up more than 200 processes!

still didnt work.. damm i backed it up but i replace the orgin. file..
n/m got it

mod_dosevasive is this a good module to have?

Yes. Highly recommended.

can't find it in the ports collection :|

is it allowed to have multiple [L] in .htaccess ?
i'm editing RewriteRule sections
just wonder if I can leave only the last one safely

Not entirely sure if this is what you're asking, but, yes, more than one rule can have [L] on it
The [L] is triggered if that rule matches.

DrBacchus thanks

can anyone help please?

...with?

scrol up, rewrite problem

you'll have to repaste it - I've probably logged out since then

well, i have mod_rewrite loaded in apache2. in .htaccess i have rule like "RewriteRule ^view/([a-zA-Z]+).html/?$ view.php?s=$1 [L]"
when i access url/view/some.html i got it "redirected" to view.php but GET var s is empty
even more strange is when i delete that .htaccess i still get redirecting to view.php
im 100% there is no other .htaccess inside docroot

I still think you're chasing the wrong wild goose.

then you aren't doing the rewrite in that .htaccess

well ...
i'v copied same thing to another server running same apache2 version from debian package same problem

find $DOCUMENT_ROOT -name .htaccess -ls

but when i tryed it on apache2.0 on some older debian its working fine!
sure sure, nothing there
grep -ri rewrite $DOCROOT
still nothing

nothing is _ALWAYS_ a wrong answer/description.

what else than? im recompiling apache2 now
there clearly is no other rewrite directive involved

Yes, I believe we already determined that it isn't mod_rewrite that's doing this.

what is it than?

Although, another thing I'd look for is to make sure that you're actually loading from the vhost that you think you are.

how come when .htaccess is in place with proper rewrite rool it doesnt working ok?

possibly a RedirectMatch

Because you have AllowOverride None

loading what?

Yeah, it could be a RedirectMatch. That's certainly possible.

no, its 'All'

Would be more efficient, too.
No, it's not.
If AllowOverride is All, then it's not in the scope you're looking at.

?

If you put garbage in a .htaccess file and it didn't generate a 500 error, then AllowOverride is NOT set to All.
That's guaranteed.

well i tryed it with ALL and it did throw out 400
sorry 500

That's not what you said earlier. Hence my confusion.

yes, it was None than i switched to All in order to test it

There's apparently more to this than I can see from this side of the IRC window.

try it ...

Try what?

It's usually better to go ahead and try, rather than asking if something will work. You learn more that way. Do or do not not, there is no try

that url i gave you

Sorry. That was hours ago. I no longer have it.
But trying it, and seeing what happens, in no way gives me any insight into what is causing it.

http://apache.pastebin.ca/628241

than what can i do? do you want me to put on pastebin whole config?

That would certainly be a good start.

thats what you'll see in a RewriteLog (level 9) when you browse /view/foo.html/

Although, somewhere along the way, I've lost track of what problem we're actually trying to solve.

i can paste rewrite log

Did you want it to redirect, or did you want it to *NOT* redirect?

sec
i wanted it to redirect
all started when i changed
RewriteRule ^view/([a-zA-Z]+).html/?$ view.php?s=$1 [L]
into RewriteRule ^view/([a-zA-Z]+).html/?$ view2.php?s=$1 [L]

And it was redirecting earlier, right?

and it keep redirecting to view.php instead of view2.php

So change it back.
Ah. I see.
Sort of.
Well, let's see your configuration.

httpd.conf? apache2.conf?
rewritelog with level 9?

imho, that RewriteRule does what you want, its a case of why its not being invoked

Yes, that would be a good place to start.

well, it doesnt pass over $1

In general, the more you show me, the more chance I'll find something useful.
And I'm going home in 19 minutes, so the more you show me up front, the better off we'll be.

just a sec
pastebin is slow as hell

apc

Try using http://apache.pastebin.ca - It's a good pastebin, and is even set up to highlight Apache 'stuff'.

curious - if you add a R=301 you get redirected to $DOCUMENT_ROOT/view.php?s=blah

?

is there a way to get more logs that would help than the default ones apaches comes with?

forget Roobarb:

you have no access to remove factoids

this rewrite rules are working 100% on apache2.0
got it?

I got the .htaccess file.

how about rewrite?

I thought we had decided that it wasn't running the .htaccess file.
Can I see your server host configuration file(s)?

yes wait

i m getting a wrong input on start apache
http://dpaste.com/14897/
is that ok?

RedirectMatch context

server config, virtual host, directory, .htaccess

RedirectMatch override

RedirectMatch may be used in .htaccess files if AllowOverride is set to FileInfo

The only possible conclusion I can draw is that the config files that you're showing me aren't actually the ones that you're running against.

but they are 100%
what about rewrite log?
thats rewrite log with that .htaccess i gave you

You should have a ServerName directive in default.conf
Or you should remove default.conf if clip.conf is your only virtual host.

its not, there is 2 more vhosts

Then it's important that you add a ServerName to default.conf or remove it entirely.
Otherwise it's possible that your vhosts aren't serving out of the directory that you think they are.
Look for .htaccess in /var/www/html
Or rather /var/www/default
Is there a .htaccess file in /var/www/default?

no

Then I'm completely at a loss.
And, alas, I must go. I am expected.

crap

how can I use mod_access to prevent access /mywiki directory (where base intallation directory)

can you take a look at http://pastebin.ca/628261 ?
is there any peculiarities, inconsistencies ?
this file has been modified by multiple sysadmin/developers before me
all it need to do is map *.html requests to proper page id
also need a pointer to good mod_rewrite tutorial, if not so hard

can anyone in here help me with a mod_rewrite question real fast?

ask

If you have an apache related question, please go ahead and ask it. We will not beat it out of you. We won't bite you either, at least until we get to know you better

lol ok

rewriteguide

http://httpd.apache.org/docs-2.0/misc/rewriteguide.html http://httpd.apache.org/docs/misc/rewriteguide.html http://www.engelschall.com/pw/apache/rewriteguide/ http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html http://rewrite.drbacchus.com/ http://httpd.apache.org/docs/1.3/misc/rewriteguide.html

^^^

i have a .htaccess file with the following lines in it: (sorry to paste this in here, but it's only a couple lines)

thats one scary looking chunk of rewrites...

RewriteEngine On

if you have RewriteEngine On in main config and want the general rules applied in a vhost, it's not enough to just put RewriteOptions inherit in the vhost, RewriteEngine On is needed as well!

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php?loc=%{REQUEST_FILENAME} [L]
this is in domain.com/my_folder (to use that as an example)

let me guess i't s not working?

arreyder thanks

not in the root, but in the folder itself
well, it partially IS
here's the problem

I like to know the problem first

if i put in domain.com/my_folder/blog for instance

you suck at communication
need to take a college course or something

the REQUEST_FILENAME comes up /server/path/to/www.domain.com/my_folder/blog

yeah
it would

well, if I add another variable
say www.domain.com/my_folder/blog/stuff
it still shows the REQUEST_FILENAME as /server/path/to/www.domain.com/my_folder/blog
without the "stuff"
is there a way to get it to grab the ENTIRE deal, or do I need to go after a different method?

try =%{REQUEST_URI}

Rich Bowen wrote a very good book on the subject as well. The Definitive Guide to Apache mod_rewrite

you still need to test REquest_filename with !-f and !-d, but use the uri as the argument

it's pretty much all you need.

cyth- what's very strange to me right now, is that i already tried that...and it didn't work.
and now it suddenly is
it WAS showing the same thing
minus the server path
lol
who knows. i must have messed up something else elsewhere
lol thanks. no idea what my problem was

arreyder cool, thanks

anyone on freebsd.. i got the inputs wrong on httpd.conf
the mod inputs
where is the mod input line?

how can i escape & when I do a modrewrite
or urlencode

hi I want people not be able to access a directory but only a file in the directory for example I dont want them to access my htdocs/wiki folder ut I want them to be able to access htdocs/wiki/index.php
how Can I do thisss?
Pls help?
or I dont want them to access my htdocs/wiki files but just be able to visit my web pages

Good evening / Bonsoir / Mooh.

Performing sanity check on apache22 configuration:
apr_sockaddr_info_get() failed for slim.bal.com
could not reliably determine the server's fully qualified domain name asing 127.0.0.1. for servername

can you use different ssl certs on different subdomains in apache?

stuff and changed the dir again to /usr/local/apache2/cgi-bin. i restarted apache, but only the icons alias works. (i am aware of the trailing / issue in the URL: ie

??

you can use one SSL Certificate for each IP-Based Virtual Host. Multiple ssl host Name-Based VHosts on the same IP are NOT supported.

??

hmm it just doesnt want the alias to be called /cgi-bin/. /cgi-bi/ is ok, but not cgi-bin. wtf

what are you trying to do?

anyone can help mke..\

mac`: looks like you need to add your ip Address to /etc/hosts

i was trying to just make a an alias "/cgi-bin/" to point to some other dir outside of documentroot

if you are having problems, you may already have an Alias /cgi-bin

yea sorry i was just typing that... i guessed this and found that there is already one in /etc/apache2/sites-enabled
the alias points to /usr/lib/cgi-bin (a dir that doesnt exist) so when i tried to set a new alias, i got 404 rather than 403 (what i would have expected)
solved tho thx

hey all, I'm looking for a configuration trick. I need to set up virtual hosts on a test server, which means the machine doesnt have a FQDN or and ip addresses for the future hosts mapped to it
how can I test that the virtual hosts are working without actually going live

ever heard of /etc/hosts?
also..

good idea

httpd -S

httpd -S tells you what your virtualhost configuration is.

might be a beginning (:

thanks jMCg , i should have jumped on /etc/hosts earlier

how's everyone doing today?
I'm hoping someone could give me a hand with a problem I'm running into with .htaccess files and attempting to redirect a specific URL (dynamic in nature) to an SSL-enabled location.
I'm using the following RewriteRule, but am having no luck:
RewriteRule ^imscart\.new/index\.php\?login=1 https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
I've tried variations of that, but no cigar either
Does anyone know of a way to debug the %{QUERY_STRING} variable? I'd like to see what the value holds... any way of seeing it in the log files?

logformat

logformat is http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#logformat

custom log formats

custom log formats is @http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#formats

thats so strange apache wont pickup the domain name that you register using you computer host name same..

Is there any way to monitor the inbound bandwidth to a vhost w/ apache?

mod_cband

mod_cband is an Apache 2 module that solves the problem of limiting the bandwidth usage of users, virtual hosts, and destinations. http://dembol.nasa.pl/mod_cband http://cband.linux.pl/

maybe..
it displays *some* data anyway about the bandwidth

mmm

mmm, silicon chips with copper ketchup

that website aint worken
*google*
mmm

mmm, hog jowels

that just monitors overall bandwidth

where can i get help what comes to httpd-vhosts.conf

Hi - I'm using mod_dav on Apache2. When I try to access the vhost I have setup with webdav, I get a 500 error. In the logs, I see: The locks could not be queried for verification against a possible "If:" header. [500, #0] ---- Could not open the lock database. [500, #400] ---- (13)Permission denied: Could not open property database. [500, #1]
Anyone know what I'm doing wrong?

davdblock
no... hrm...
mod_dav

mod_dav is http://httpd.apache.org/docs-2.0/mod/mod_dav.html or http://webdav.org/mod_dav/ or http://www.webdav.org/mod_dav/install.html#apache

davlockdb

davlockdb is http://httpd.apache.org/docs/2.0/mod/mod_dav_fs.html#davlockdb

you set that ^^?

thanks

hello, I want the A url to be redirected to B url, should be done through .htaccess. Please give command. A: http://localhost/script.php?q=1 B: http://localhost/test-script.php
I did this as follows, RewriteCond %{QUERY_STRING} ^q=1, RewriteRule ^script.php http://localhost/test-script.php
But the parameter "q=1" is appended to the B url too, how to avoid this.
?
my days are going with this simple work, please somebody help....
I read many pages regarding to this, I think I miss something here.
another question,

another question, is Tthere a way in apache to let perl scripts call methods in java or php, or vice versa

Is it possible to be done with RedirectMatch by mapping the parameter?
ok, no body seems to be help here. I leave now.

ok i got it fixed
plumbroot.com
you guys so clueless
lol
wow it took only 3 sec.

mac`, the problem is maybe your communication.. i dont haldf of the time understand what your saying

is there a way to blacklist IP's/

yeah
deny from

righto!
yeh, i wish i knew how to in freebsd :|
i'm getting really sick of this DoS

a trip to #bsd might help

it even managed to bypass mod_dosevade !

does bsd use ipchains?

#bsd won't help i think
and ipchains is not in the ports collection :|

oh dos is a different story... you'd have to do some dos logic
uoh dos is a different story... you'd have to do some dos logic/u
you could try out mod_security

did that too
i think

supposed to be a full security thinger

mod_security or mod_security2 ?

i'm using mod_sec 1
mod_sec 2 got too janky for me
but it's pretty extensive
there's also some default rules
that come seperately
they're pretty restrictive...

too janky?

changed rules and stuff
and i didn't feel like relearning stuff
*shrugs*

screw that, i just need something that keeps these ddos atacks away o.o

you could try out mod_limitipconn
as well
but *shrugs*
if you're gonna get dos'ed you're gonna get dos'ed
not a real easy thing to deal with

i wish we knew who was behind it
it would result in a nice lawsuit and we finally have made some profit for once
well...
mod_security2 killed the service :|

is it possible to make a virtual directory available only via https?

stick in the ssl vhost only
stick it*
or http2https

http2https is http://rewrite.drbacchus.com/rewritewiki/SSL

or sslrequiressl

sslrequiressl is http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#sslrequiressl
sslrequiressl is a href="http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#sslrequiressl"http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#sslrequiressl/a

fajita, thanks
fajita, worked like a charm, thanks

okay, apache is up and running again, WITH mod_security2
and it's still getting ddossed :|
i could implement an script that would ban an IP host-wide if it tried to access a file more than 4 times within a timelimit....

chuck norris fact

Chuck Norris does not kick ass and take names. In fact, Chuck Norris kicks ass and assigns the corpse a number. It is currently recorded to be in the billions.

hello
i installed centos 5 with apache 2.2.3
and setup vhost
and i got error 403 Forbidden You don't have permission to access / on this server.
what i can to do?

step one

whatever the problem, step one is to look in the error log (and any other logs that may apply, such as suexec, mod_rewrite, or mod_security).

i not have mode_sec or mod_rewrite

so. you will have an error log
error log

Look for the ErrorLog directive in your configuration file. Common locations include /var/log/apache/error_log, /var/log/httpd/error_log, /usr/local/apache/logs/error_log, and "C:/Program Files/Apache Software Foundation/Apache/[version]/logs/error.log"

1 2007] [error] [client 66.249.67.164] (13)Permission denied: access to /

access to /?

yep

you used your fs root as the docroot?

i use user apache

sweet, made some changes in my script

from that error it looks like apache is complaining about you using your filesystem / directory
i would complain as well

4 2007] [error] [client 84.110.178.144] (13)Permission denied: access to /index.php

what is your documentroot for this vhost?

/home/user/public_html/

ok
the error entry is still odd

yep

but ignoring that for now... part of the problem may be selinux
it's odd for different reasons than you think
so that's why i'm going to ignore it for now
selinux

selinux is The New Universal Scapegoat! http://www.nsa.gov/selinux/ httpd FAQ: http://fedora.redhat.com/docs/selinux-apache-fc3/ TIP: Use 'setenforce 0' to set permissive and test, man the following: chcon, getsebool, setsebool - Use `ls -alZ` to see context; More: http://fedoraproject.org/wiki/SELinux - http://danwalsh.livejournal.com/

namei

amm how i set down selinux?

namei follows a pathname until a terminal point is found. Use namei -m /path/to/files to check the permissions of the file and the path up to it. See http://sial.org/howto/debug/unix/parsepath if your system doesn't have namei

it's in fajita's reply. read it
permissions

Files need to be readable by the Apache user (e.g. 644). Directories and scripts need the X bit too (e.g. 755). That includes *all* parent directories of a resource. If you have a symlink, check both the source and target. If you have AllowOverride for an unreadable directory, the error message will refer to .htaccess. See also selinux

all of fajita's replies pertain to you

drwxr-xr-x /
drwxr-xr-x home
drwx--x--x m0fo
drwxrwxrwx public_html

you didn't read fajita's selinux reply, did you
and that last directory permissions suck
777

There is never an appropriate time to set a file mode of 777. And don't tell me it's just a test server

name based vhosts

name based vhosts is http://httpd.apache.org/docs/2.2/vhosts/name-based.html#using

faq1

exactly. For example, NameVirtualHost *:80 must be used with VirtualHost *:80

those might pertain to you as well

ùöö
amm
there are virtualhost *:80 and namevirtualhost
i dont know what is next step to fix it

like fajita told you earlier, i'm betting it's selinux
selinux

selinux is The New Universal Scapegoat! http://www.nsa.gov/selinux/ httpd FAQ: http://fedora.redhat.com/docs/selinux-apache-fc3/ TIP: Use 'setenforce 0' to set permissive and test, man the following: chcon, getsebool, setsebool - Use `ls -alZ` to see context; More: http://fedoraproject.org/wiki/SELinux - http://danwalsh.livejournal.com/

amm i dont speech english good \:

Use 'setenforce 0' to set permissive and test, man the following: chcon, getsebool, setsebool - Use `ls -alZ` to see context;

amm i set setenforce 0
and i got white page

keep referring to your error log
apc

Try using http://apache.pastebin.ca - It's a good pastebin, and is even set up to highlight Apache 'stuff'.

paste config
to that url
and paste the url back here
your vhost config

your vhost config is probably screwy

shush

excuse me?

hush

all of config ? or just vhost?

your vhost config

sorry

I should think so too

:X
http://pastebin.com/me4705bb

ok
so now look at your error log
this looks like a wsod
wsod

wsod is White Screen Of Death, one of PHP's specialties. It is produced when an error has occurred in a PHP script and the error reporting goes either to the error log or to nowhere. To solve it, look for the error reporting settings in php.ini (or use ini_set()). Also check the error log (see step one). Further questions MUST GO TO ##PHP.

so your deal's selinux giving you the 403 and some php error giving you the wsod when you disable selinux

yep
selinux

selinux is The New Universal Scapegoat! http://www.nsa.gov/selinux/ httpd FAQ: http://fedora.redhat.com/docs/selinux-apache-fc3/ TIP: Use 'setenforce 0' to set permissive and test, man the following: chcon, getsebool, setsebool - Use `ls -alZ` to see context; More: http://fedoraproject.org/wiki/SELinux - http://danwalsh.livejournal.com/

i cant use selinux and apache together?

you can

but it's up to you to figure out the ACLs

problem is selinux has security contexts for apache. one of them being no changing the documentroot
uproblem is selinux has security contexts for apache. one of them being no changing the documentroot/u
buproblem is selinux has security contexts for apache. one of them being no changing the documentroot/u/b

i think have reason that selinux starting up with standard centos 5 setup

NSA...USA...Linux...

now 7 in morning in israel
:|

the lowdown is you have to change the security context for apache in order to use a docroot of your home dir
and after that, you need to fix your php script

how i do it without change?

do what?
change what?
your question didn't make sense

run apache without change authorization

you have to use /var/www/html for the documentroot

i using this server for share hosting

and then there's probably other security contexts you'll need to figure out anyway
you do what you have to do. what you use your server for is irrelevent

what is irrelevent ?

if you want to do shared hosting with users, you're going to need to learn to deal with selinux
irrelevent == no one cares about it
like, i don't care what your server is being used for

ok
now i need to restore mysql database
tnx about alll

heh
i bet there's a security context for mysql as well...
.

yep have
all service with the games of security :P

pita if you ask me
*shrugs*
damaestro's into that though... *shrugs*

hmm

hoi!

into pains in the asses?

megaspaz from where are u?

heh
multiple pain...
they tell me i'm from the .us... but i think i'm really from hell...
hard to know, because i think i'm a cylon

rofl

what are you laughing at? i know YOU'RE a cylon! :P

so, you are the secret to google search engine? the ai and everything?

:o

just plug the fiber into your arm?
:-/

heh
i think my function is disinformation and confusion

ah

is there a safe way to kill children?

probably... but i can't think any legal way of killing children
:/

...i meant child processes o.o
but yeh, i could kill babies

server-status

server-status is enabled by mod_status. See http://httpd.apache.org/docs/mod/mod_status.html or http://httpd.apache.org/docs-2.0/mod/mod_status.html

i damned hate their screaming :@
i have server-status enabled

you could match the request and pid from server-status with the httpd process and kill it

...

kill it dead
deader than dead

by hand o.o

oh so safe isn't what you're looking for
you're looking for quick

i just need to kill the processes that arn't in use
i don't want to download 1MB everytime i refresh that page

oh... different story
those processes are there because of your maxserver settings
don't know what happens if you kill them willy nilly

:|
my maxserver is at 1000

that's a lot more than me
heh
but i'm not running a high traffic server...

it wasn't supposed to be high traffic o.o
it was DoS from day #1
and then it evolved into DDoS
sort of fixed it now, only 3 processes serving actual clients :x

niq fact

Einstein didn't die. That was just one of Nick Kew's identities used because Nick Kew is immortal.

heh
we need more niq facts...
.

what's niq?

niq is http://people.apache.org/~niq/

dang

niq fact

Nick Kew doesn't miss writing deadlines. He looks at a pile of paper and out of fear the book completes itself.

LOL

niq fact

Nick Kew doesn't need banks. He puts his money in his beard and out of fear, the money accrues interest.

o.O

Poke!

dude, are you trying to kill me, megaspaz?!

i try to kill everyone
I'M A CYLON YOU DOPE!
or at least i think i am...
i hear strange songs for no reason... .

i hear voices :x

that's just me...

they tell me to murder babies
and get sex :x

oh... that's not me

that's what i thought

i'm usually telling people to commit seppuku
niq fact

Nick Kew doesn't use a computer to surf the web. Alcohol and magnets are all he needs.

one of them also says "BABYF*CK, IT'S AWWWWRIIIIIIIGHT!"
i don't trust that one

um... ooook...

:P

niq fact

Einstein didn't die. That was just one of Nick Kew's identities used because Nick Kew is immortal.

it's from a manga .

niq fact

Kick Kew doesn't program. Programs write themselves out of fear for his beard.

heh
how was the movie?

good, and a good reminder of what all went down.

hrm...

so this may seem realllyyyyy nooob, but can I access my server remotely if I don't have url like www.foo.com

yes

sweet!

like sugar, baby

use your external ip address

I thought so, you guys rock!

you can find that with whatismyip.com

alright, but now its asking me for a name and pass and I didn't set one up... hmm... there must be a default
oh lol

:/

nm, I'm confuzed, I will go read more apache documentation and come back tommorrow...
lol
thanks though, you guys are a lot of help!

got nothing to do with apache
you behind a router?
if so...

hehe... I knew that

router

In order to access your web server behind a NAT router, you must forward the port apache is listening on to your internal IP. Then you can access your site by pointing your browser to http://your external IP here:port. If your ISP blocks port 80, see 'port 80 redirection'. Instructions on how to forward a port using most common routers can be found at http://portforward.com.

ok, sounds good, one sec, I'll set that up

if that doesn't work, your isp could be blocking port 80 requests
or your isp is using port 80 for something special in the modem

yeay! you guys rock!
alright not to bombard you with questions bc/ause you probably have a lot better things to do... but.. so do I link folders to add them to my apache server?

ln -s /directory lnknamehere

ok, sweet....
and I do that from inside the apache folder?

you can do it from anywhere if you use full paths
ln -s /home/joe/pr0n /var/www/html/pr0n

or you could just create them in the docroot
*shrugs*
depends on what you want to do
you can also use alias

lol, yeah that would work too I guess , and /var/www/ is the apache default space

well no

?

it's the default location that debian/ubuntu uses

ah
gotcha, that obvious that I'm a ubuntu user... ^_^

well it says so in your servertokens
servertokens http://75.132.33.28/

Apache/2.2.3 (Ubuntu)

ahh
lol, I never claimed to know anything
and then last question if you're bored, how do you go about securing your apache with like an ssh encryption or such?
not that I don't want to share with the world

eh?
you mean password protect your site?

yeah

first, know where your configs are

ok

default layout

Pop along to http://wiki.apache.org/httpd/DistrosDefaultLayout for an idea on where the main distros place Apache files.

it was in /etc/apache2/

depending on your distro's apache layout, you'll run into trouble if you use the generic docs to do stuff
no

oh..
sorry..

I should think so too

your vhost in ubuntu is /etc/apache2/sites-enabled/000-default
ubuntu/debian uses name based vhosts
next.

next is making a non-existant subdomain map to www ...

auth

Take a look at http://httpd.apache.org/docs/2.2/howto/auth.html or http://wiki.apache.org/httpd/PasswordBasicAuth for some basic examples!

ok

that'll show you how to do basic auth
but you should know about other apache concepts
like

like is 0-80 the safest way to go

scope

section, or a Location, perhaps. or http://httpd.apache.org/docs/configuring.html#scope or http://httpd.apache.org/docs/2.2/configuring.html#scope

context

context is http://httpd.apache.org/docs/mod/directive-dict.html#Context http://httpd.apache.org/docs/2.0/mod/directive-dict.html#Context http://httpd.apache.org/docs/2.2/mod/directive-dict.html#Context

as well as basic unix stuff like file permissions
and know where your error log is

wow so much to learn
I know the last two

oh you'd be surprised at how many people think they know file permissions
and how that pertains to apache
we'll see

haha, if that's not ominous I don't know what is
ok, so file permissions are different for apache than say folders in a linux distribution

permissions are the same
it's much more than just say chmod this chmod that
you should understand group/owner ownership and how apache fits in there
every part of the system path needs to be accessible by apache

is it by default?

and you need to narrow that permission set
well if you have to ask that
...
permissions are an os thing

ohhhhh, are you saying apache is treated like a user

uh huh...

Please state the nature of your computing emergency

ok!

oh and apache has its own access framework as well
order

order is http://httpd.apache.org/docs-2.0/mod/mod_access.html#order or http://httpd.apache.org/docs/mod/mod_access.html#order also see: http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#order

deny

deny is http://httpd.apache.org/docs-2.0/mod/mod_access.html#deny or http://httpd.apache.org/docs/mod/mod_access.html#deny or http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html

allow

allow is http://httpd.apache.org/docs-2.0/mod/mod_access.html#allow or http://httpd.apache.org/docs/mod/mod_access.html#allow http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html

hesus, ok, in short, read the doc, and come back thank you sooo much for your help, will you be here tommorrow by any chance
?

nope
gotta help someone move and then off to visit the family

... well at least you were honest
lol

other people will be here though
mebbe

actually to be totally honest, right after I asked that I rmemebered that I'm going to a wedding tommorrow so I probably won't be back until Monday, but hopefully I will understand a little better what I'm doing
thanks again
oh yeah! really quick, any preference as far as authentication modules go?

up to you
some people prefer other auth systems like single sign on systems
other people use basic auth
some people use ldap
some people use digest
*shrugs*
some people use certificate verification

gotcha, but they're all pretty secure

yada yada yada
well depends

depends is a tool to help you see dependencies for win32 modules#at http://www.dependencywalker.com/.included with many microsoft development tools

shush

sorry...

with things like basic auth and ldap, you'll need to go through ssl first since using basic authtype sends everything in the clear
single sign on systems are only as secure as the skill of the developers
there's issues when doing cookie based auth

ohhhh

*shrugs*

(about the skill of the developers part)
ok, well thanks again, I'll try to come back soon with all the info, have fun

mmhmm

you rock!

RewriteRule ^([^/]+)/([^/]+)/$ index.php?a=$1&b=$2 ... is there any way to have that return true if and only if an index.php/html file doesn't exist in whatever that matches? eg. /this/that/ would return true only if /this/that/index.html didn't exist
Even if I could put an ignore before RewriteRule or something... hmm.

rewritecond

rewritecond is http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond

Hi on a default Install of httpd on Fedora, after starting the service and removing the welcome.conf file
if I place my index.html at /var/www/html I am greeted with 403 Forbidden.

you get forbidden?

what I am doing wrong
yes

i knew the q before you finished

FAQ is it?
am firing up the browser to lookup

see where your docroot points in the welcome.conf file i guess
i have not used fedora in quite a long time

welcome.conf is pretty simple.
LocationMatch "^/+$"
Options -Indexes
ErrorDocument 403 /error/noindex.html
/LocationMatch

is a bit strange, i'd say

Options -Indexes turns off directory indexing. Ask me about mod_autoindex and Options for more details.

fajita. what does it mean.. I think had a server running with just placing my index in /var/www/html..
Oh yeah. I just placed a index.html in the directory and its working

RewriteCond %{REQUEST_URI} -f /index.html ... hmm, I don't think this is it, can you offer some pointers? I think I'm missing something

but if ln -s /home/user/something/index.html . in the /var/www/html it gives 403 forbidden. Permissions issue, I guess

apache 2.2.4 sucks

you will need userdir probably

i cant manage to get PHP 5.2.3 to work
it complains about dont find files

yes, i like 1.3 best myself

and the SSL dont work either
yeah, i like 1.3 myself best too
this 2.2.4 thing just sucks, i dont like it at all
now i wanna go back to 1.3.3.7 but there is no Windows version available of it on the website, why
?

cause it's the L33T version

ya, its better
beacuse it works
it does what i want it todo

Any ideas?
Hm, doesn't seem to be working

i looked forward due to 2.2.4 because of SSL, and i configured some, and when i ran "httpd" it said errors, and i had to goto the config file, and add quotes around the filenames, then it worked better, so it seemed the config file was broken or something? either way, finaly i got it to spit out no error, but then the httpd would still not statr
anyone know what happend to 1.3 download on httpd.apache.org? its not therE?

use -f index.html

Ah, okay, so, stick this before the RewriteRule: RewriteCond %{REQUEST_URI} -f index.html - correct?

try it and see

alrighty
hm, threw a 500
.htaccess: RewriteCond: bad flag delimiters
hmm, strange

if would be !-f
for not

I wanted to test the 301 redirection.
so, in the /var/www/html directory, i created a index.html which loads properly
and then created .htaccess with the content Redirect 301 index.html new.html
new.html is located in the same directory

ohh, kay
okay*

wait, try !=/index.html

oh, okay, !-f threw a 500 too, /me tries
Thanks btw, really appreciate it

when I load index.html with .htaccess set to redirect to new.html, its not doing

please, where is 1.3.37 for windows?
i cant find it on the website
someone removed it

smallfoot-: uh, google it.

its not on apache.org

i think it is
they just hid it from you

hmm, well, that didn't throw a 500, but it didn't work, either. /me scratches head. Where would we use the darn -f

why they hide it?
i used to find in \binaries\win32\ now only 2.0 and 2.2 is there, but not 1.3

Maybe because it's old ...

but its still supported
and its the best release
2.2 just sucks
i have to use 1.3

"best" is subjective, of course, and watch it. Developers in here put a lot of time into what you're saying "sucks."

but 2.2 dont work with PHP
and the SSL dont work either
and it dont display error, but it still dont work

Maybe you don't know what you're doing ...

and the config files missed quotes, that i had to add myself
i read instructions
with 1.3 it all worked

smallfoot-: err, and of course apache 2.2 works with PHP. That's the silliest thing I've heard

http://archive.apache.org/dist/httpd/binaries/win32/apache_1.3.37-win32-x86-no_src.msi
there, found it

nice

told you they hid it

foo, every time i tried get it work, it complained about not finding files, that i *knew* was there

smallfoot-: You're on Windows ... expect little.

say what you want about Windows, on this computer I use now, windows has NEVER crashed

How old is it?

for desktop-use, I believe Windows to be more stable than Linux
a month old
and on my old computer, it rarerly crashed

You're not building up too much credibility when you say it's a month old, you know

hehe
95, 98, ME sucked
but XP is rock solid
i think its more stable than Linux

Anyways, I have better things to debate on.
I wish one of the examples utilized -f or something.

on 2.2 i messed with PHP and Apache for an hour without get it work
just installed 1.3 and got it up with PHP in a minute

RewriteCond /your/docroot//your/docroot/myfile.php !-f - interesting... I think it goes at the end.
smallfoot-: Did you find anything in there error log?

forgot to check lol, lol
hahahahaha
but when i ran "httpd" it spit out errors on the console

eh, that's not funny. You've been complaining since I got here... and I made the statement you might not know what you're doing ... not being too credible, be careful what you say

which said "syntax error on line 143 on file httpd.conf: no such file "mod_php.c" or something
thought checking error log wasnt needed, since i saw the errors on the console
oh well, 1.3 works as a charm, i cant understand why its not on the website though

RewriteCond %{REQUEST_URI} index.html !-f ... hm, no go. /me keeps looking

try rewritecond requesturi !-f
try rewritecond requesturi !-f index\.html$

hm, okay
hm, didn't throw a 500, but didn't work
RewriteCond %{REQUEST_URI}index.html$ -f
Bah, nope.
http://mail-archives.apache.org/mod_mbox/httpd-docs/200309.mbox/%3C3F617512.5080001@libero.it%3E
RewriteCond /your/docroot//your/docroot/path/to/myfile.php !-f
Hm /me tries that
RewriteCond /home/webadmin/WWW/%{REQUEST_URI}index.php$ !-f
hm, nope.
whoops

try RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f

hm, nope.

Hello everyone

hm, I was just told that RewriteCond only applies to the next rule, not all rules
ah, that worked.

is there a command (or other easy method) to find out which of many httpd.conf files my apache is using?
My ip address changed and I need to edit my virtual hosts accordingly and can't figure out which httpd.conf it's being defined in :-/

Thank yo
u
actually, it was RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}index.php !-f ... anywho, thanks again

ah ha! no wonder I was having trouble finding it, it's named apache2.conf .
thanks anyway though

debian

debian is "we complicate it for you so you don't have to" or see /usr/share/doc/apache*/README.Debian* or http://wiki.apache.org/httpd/DebianLikePlatform

ubuntu

ubuntu is an ancient African word meaning 'I can't configure Debian'

heh
or in my case "I'm too lazy to configure debian" which I guess ammounts to the same thing

apache2.conf

apache2.conf is Debian's name for httpd.conf

yeah, ubuntu's too for some reason

debian whores

yay virtual hosts work again, off to bed I go, have a good night!

Anybody in here have any expierence with Pound?

i've used it

I'm having trouble installing it and don't know where else to ask - the list seems to be down...
after installing it and google tools, I get this when running 'pound': 'pound: error while loading shared libraries: libtcmalloc.so.0: cannot open shared object file: No such file or directory'
but libtcmalloc.so.0 exists in /usr/local/lib...

did you compile from source?
is this freebsd?

compiled from source for both google tools and pound; and it's on Centos (which is RHEL, essentially)

yes, i use centos
it's the only linux i use
i use freebsd mostly

hehe same.
I'm on a Mac otherwise, and from your name, I'm assuming you are too.

um no
you will need to recompille it and point to the /usr/local/lib dir

for what?

do you have a config.nice file in the dir?

there's not an option on the configure script to point it where to look for google tools
let me check
config.c config.guess config.h config.h.in config.log config.o config.status config.sub configure
nope ^^/

well if you type .configure --help it should give you some compile time options

yes, but there is none to define the path of google tools
which is why I'm sort of lost

i dont know google tools

it's telling me it can't find it, but giving me no way to tell it where to find it...
it's the parent of tcmalloc

what does your LD_LIBRARY_PATH say in env?

"...If the PCRE, tcmalloc (from the Google perftools package) and/or Hoard packages are available Pound will link against them..." -- http://www.apsis.ch/pound/
I'm assuming I find that out by echo $LD_LIBRARY_PATH, right?
it echos a blank linereturn
(thanks for helpin me btw)

just type env

no entry for that
Hmm...

try recompiling with --libdir=/usr/local

(my configure string was './configure --prefix=/usr/local --with-ssl=/usr/local')
ok, trying it
same error
though I'm not sure I did the resintall right

where did the binary get installed to /usr/local?

the config output, at the end, said 'config.status: config.h is unchanged'
and both make and make install ran almost instantaneously instead of taking time

did you make clean frist?

yah

noirin, you did not

what?
when i ran make clean it said 'rm -f pound pound.o http.o config.o svc.o poundctl poundctl.o'
maybe it wants me to run that, and it didn't?

no
rm config.status

here let me just rm the folder and re-untar
that sound right?

sure

hi

hi!
wb

hello! How are you today??

haii

Is it posiple to setup a backup web server that takes over when the primary is down?

can somebody help me how to control file permission?

if you look at configure, you can see the default options for configure

that's actually sort of what we're talking about
using a proxy load balancer type app, in this case, pound

libdir='${exec_prefix}/lib'

and same error )-:

add --exec_prefix=/usr/local

re untar again?

failing that, try adding LD_LIBRARY_PATH=/usr/local/lib to your env

so my string is now './configure --prefix=/usr/local --with-ssl=/usr/local --libdir=/usr/local --exec_prefix=/usr/local', correct
that'd be 'export LD_LIBRARY_PATH=/usr/local/lib', right?

ohh, but that will need to be visiple on one of the servers

what?

for mailservers there is a priority setting in the DNS. Is there nothing similar for web?

WORKED!
3 growltiger
Thanks so much!

greetings

greetings user

greetings fajita

i think it was cause you had no LD_LIBRARY_PATH

thanks so much. I'd have never found that out, thanks! I'll certainly blog that to pass it on to others. I owe you one!
screenin out now, night

i get to featured on a blog?

using LD_LIBRARY_PATH just sucks in a way that you usually also need to set that before using the binaries. using other variables (LDFLAGS, CFLAGS) or compiler arguments is better if possible. though e.g. on Solaris I haven't some times found out other way but LD_LIBRARY_PATH

how do i go about rewriting root/index.php?page=2 into root/forum/ ?

I'm trying to redirect a feed but it's not working. Here is my .htaccess file http://apache.pastebin.ca/628460. I maybe missing something obvious but I don't see why it's not working
any ideas?

thinking is *hard*!

indeed

what?

I'm trying to redirect a feed but it's not working. Here is my .htaccess file http://apache.pastebin.ca/628460. I maybe missing something obvious but I don't see why it's not working

OK, steans.

I'm not an expert of mod rewrite or apache
so I thought that the file as I wrote it was easy and straightforward
but Apache doesn't seem to redirect anything

How to modify the setting of Apache in such a way that When i type http://localhost:8080/app1/a.html then it can look out in CMyDocu~1\Projects\app1\a.html?

documentroot

DocumentRoot specifies where apache should look for content. See: http://httpd.apache.org/docs/2.2/mod/core.html#documentroot or http://httpd.apache.org/docs/2.0/mod/core.html#documentroot or default layout.

how do i go about rewriting root/index.php?page=2 into root/forum/ ?

request_uri

request_uri is the resource requested in the HTTP request line.

But That changes the current pointing from htdocs folder to app1 folder. Is there any way by which I can have both the folders enabled

cstextiles then redefine your question so it makes sense

Alias /app1 "C:/MyDocu~1/Projects/app1/"

how do i go about rewriting root/index.php?page=2 into root/forum/ ?

I have some of my apps in htdocs folder and I require to use different folder for a new apps how to do that

Alias /app1 "C:/MyDocu~1/Projects/app1/"

what is the relation between these folders ?
also Wintendo-- brrrrr

Ya I am reading http://httpd.apache.org/docs/2.0/mod/mod_alias.html I hope I am in the right document

Alias

Alias is http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias

:o)

No relation between them but am using single server

kara wintendo
ehh

so fajita seems to me a bot?

karma wintendo

wintendo has karma of -14

fajita bot

Danger Will Robinson!

karma billgates

billgates has neutral karma

he should be at -14 million by now...

karma bill

bill has neutral karma

wtf?
karma bill gates

bill gates has neutral karma

I was watching QI on the bbc yesterday, it was hilarious as usual

:
bill gates--
billgates--

there's this bloke who invented putting lead in petrol to make it go smoother... he dumped more shit into the atmosphere than everbody else combined
then he went on to invent CFCs to better power his fridge, and ended up destroying the ozone layer
he died getting strangled by his home-made polio body armour

I added this line Alias /projects "D:/My Documents/app1/" But when I try to access the page in that folder then error comes Forbidden
You don't have permission to access /app1/login/password_display.html on this server.


Related Topic: