18. marts 2002 - 23:12
Der er
2 kommentarer og
1 løsning
apache vil ikke vise filer
hej
hvis jeg vil se /demo/ på min server, (der ligger nogle gfx filer deri) skriver min server:
Forbidden
You don't have permission to access /demo/ on this server.
er det noget med dette der er sat forkert op?:
<Directory "c:/www">
Options All Indexes FollowSymLinks MultiViews
AllowOverride All Options FileInfo
Order allow,deny
Allow from all
</Directory>
- den vil heller ikke vise .php3 .htm .html filer, kun .php, selvom jeg har sat op, at den skal kunne vise .php3 .php3 .html osv...
nogle der kan hjælpe?
19. marts 2002 - 09:47
#2
SPM. 2:
ScriptAlias /php/ "stil til din phpmappe/"
AddType application/x-httpd-php .php .php3
Action application/x-httpd-php "/php/php.exe"
For at definere indexfiler:
<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.php3
</IfModule>
19. marts 2002 - 17:32
#3
har selv haft samme problem, men ved lidt pillen her og der kom det lige pludselig... Led efter nedenstående linier og skriv dem som de står her:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/var/www/htdocs">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
så skulle det virke....