![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 35 Pomógł: 2 Dołączył: 25.06.2009 Skąd: Nowy Sącz Ostrzeżenie: (0%) ![]() ![]() |
witam,
mam taki problem: piszę aplikację w zend framework. Utworzyłem katalog /inz w katalogu /var/www. Stworzyłem tam plik .htaccess o treści Kod RewriteEngine on RewriteRule .* index.php php_flag magic_quotes_gpc off php_flag register_globals off Zacząłem pisać aplikację, ale skrypt nie odnajdował mi żadnego widoku. Pokazywał się komunikat, że stronie nie jest znaleziona. To zaglądnąłem do pliku sites-avaibles w konfingu apacha, który teraz wygląda tak: Kod <VirtualHost *:80> ServerAdmin admin@site.com DocumentRoot /var/www/ <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place # Commented out for Ubuntu #RedirectMatch ^/$ /apache2-default/ </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride All Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost> problem polega na tym, że teraz nie mam już żadnych uprawnień do przeglądania tego co mam na localhost. Gdy wejdę na http://localhost to pokazuje mi pustą listę katalogów, natomiast gdy wejdę do katalogu http://localhost/inz/ to pokazuje się błąd: Cytat Internal Server Error czyli ja coś popsułem... Proszę o szybką odpowiedź |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 04:57 |