|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
alias / scriptalias help under win2k
when i used to run apache under win98se i had no problem with aliasing directories. i have...
alias /webstuff/ "c:/webstuff/" scriptalias /webstuff/cgi-bin/ "c:/webstuff/cgi-bin/" for the real structure of... -webstuff -cgi-bin i get 'forbidden' error and the log tells me execcgi option was not turned on for the cgi-bin directory. however i'm pretty sure the docs said that if i scriptaliased a directory then execcgi would not have to be set (doesn't work even if it is turned on) i'm almost positive this is the way i had it configured for win98, thanks, rob |
|
#2
|
|||
|
|||
|
First off, if you alias c:/webstuff/, don't alias/scriptalias something under c:/webstuff/ again. Invent another directory like so:
scriptalias /cgi-bin/ "c:/another_dir/cgi-bin/" The alias rule in Apache says: When you alias something, it MUST not physically reside under your docroot. By default, there should be a <Directory> block of your docroot like so: <Directory "/path/to/docroot"> Options xxxxx AllowOverride xxxxx ... </Directory> If you follow the alias rule, your /path/to/webstuff cannot be /path/to/docroot/to/webstuff. That said, you need to create a new <Directory> block for webstuff: <Directory "/path/to/webstuff"> Options xxx AllowOverride xxx ... </Directory> >> i get 'forbidden' error and the log tells me As I said, you can't create two alias paths in the same directory tree. >> if i scriptaliased a directory then execcgi would not have to be set Correct. |
|
#3
|
|||
|
|||
|
thanks
i'll give it a try, why did this seem to work under 98??? bug or something? nice to see someone else up at this hour
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > alias / scriptalias help under win2k |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|