Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Konfiguracja Apache - nie wyświetla katalogów
M4ver7071
post
Post #1





Grupa: Zarejestrowani
Postów: 63
Pomógł: 0
Dołączył: 26.06.2014

Ostrzeżenie: (0%)
-----


Witam, mam taki problem otóż przeniosłem swój projekt na Windows 8 zainstalowałem WAMP potem XMAPP i wgrałem wszystko composera itd. ale apache listuje mi wszystkie katalogi prócz jednego.. gdzie znajduję się główny plik (index.php). Macie jakieś pomysły jak skonfigurować apache by wszystko dobrze przetwarzał?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
M4ver7071
post
Post #2





Grupa: Zarejestrowani
Postów: 63
Pomógł: 0
Dołączył: 26.06.2014

Ostrzeżenie: (0%)
-----


Virutalhost?

# Virtual Hosts
#
# Required modules: mod_log_config

# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
##NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ##ServerName or ##ServerAlias in any <VirtualHost> block.
#
##<VirtualHost *:80>
##ServerAdmin webmaster@dummy-host.example.com
##DocumentRoot "C:/xampp/htdocs/dummy-host.example.com"
##ServerName dummy-host.example.com
##ServerAlias www.dummy-host.example.com
##ErrorLog "logs/dummy-host.example.com-error.log"
##CustomLog "logs/dummy-host.example.com-access.log" common
##</VirtualHost>

<VirtualHost *:80>
ServerAdmin projekt.dev
DocumentRoot "C:/xampp/htdocs/projekt/public"
ServerName laravel.dev
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>




Tak wygląda co w nim nie tak?
Go to the top of the page
+Quote Post

Posty w temacie
- M4ver7071   Konfiguracja Apache - nie wyświetla katalogów   26.06.2014, 20:50:10
- - by_ikar   Co masz na myśli poprzez konfiguracje żeby apache ...   26.06.2014, 23:04:53
- - M4ver7071   Chodzi o to ze mam katalog public gdzie znajduje s...   27.06.2014, 05:08:23
- - Pyton_000   Brak odpowiednich uprawnień? Sprawdzałeś prawa dos...   27.06.2014, 06:53:55
- - by_ikar   Jeżeli masz jeden plik do obsługi całej aplikacji ...   27.06.2014, 16:46:47
- - M4ver7071   Ale możliwe ze htacess ukrywa cały katalog? Nie c...   27.06.2014, 20:38:59
- - by_ikar   htaccess to plik w którym możesz dać prawie takie ...   27.06.2014, 21:33:09
- - M4ver7071   Rzeczywiście był problem z .htaccess natomiast mam...   30.06.2014, 15:56:46
- - by_ikar   Brakuje ci pewnie handlera w ustawieniach apache, ...   30.06.2014, 18:45:26
- - M4ver7071   Jak sprawdzić w XAMPP jakiej wersji jest php? Bo d...   30.06.2014, 20:08:54
- - Turson   phpinfo();   30.06.2014, 20:58:26
- - trueblue   Spróbuj: AddType application/x-httpd-php .php Jeś...   30.06.2014, 21:27:05
- - by_ikar   Co ty zrobiłeś w tym xampp że pobiera ci pliki zam...   1.07.2014, 14:03:27
- - M4ver7071   Nie to, że pobiera mi kod... Wykonuje ale jakby w ...   1.07.2014, 16:00:54
- - by_ikar   Możesz dodać, tyle że jeżeli masz już coś takiego ...   1.07.2014, 16:08:41
- - M4ver7071   Options +FollowSymLinks RewriteEngine On RewriteC...   17.07.2014, 15:26:15
- - Pyton_000   bo masz powalony vhost   17.07.2014, 15:58:19
- - M4ver7071   Virutalhost? # Virtual Hosts # # Required modules...   17.07.2014, 16:45:54


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 17.10.2025 - 05:33