|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have some web application which use symfony framework and I want to
create virtual host in appache to have this application available from adres http://webApp/ instead of http://localhost//symfony/webApp/. I have manual which describe how to do it in Gentoo apache distribiution, but I have apache in Windows. I tried to add folowing code into httpd.conf: <VirtualHost *:80> ServerName imagene DocumentRoot "c:\apache\htdocs\nauka\phpsolutions_27\symfon y \Imagene\web" DirectoryIndex index.php Alias /sf "C:/php/PEAR/data/symfony/web/sf" <Directory "c:\apache\htdocs\nauka\phpsolutions_27\symfony\Im agene \web"> AllowOverride All </Directory> </VirtualHost> but it didn't work. My apache server is available at 8080 port. I also tried to paste this code into httpd-vhosts.conf file (in extra dir) but it also didn't work |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 2008-01-19, Pawel_Iks <pawel.labedzki@gmail.com> wrote:
> distribiution, but I have apache in Windows. I tried to add folowing > code into httpd.conf: > ><VirtualHost *:80> You also need a NameVirtualHost *:80 before all your <VirtualHost blocks. > but it didn't work. My apache server is available at 8080 port. Then the NameVirtualHost and VirtualHost should be *:8080 or simply * Davide -- Q: What does the CE in Windows CE stand for? A: Caveat Emptor. |
|
![]() |
| Outils de la discussion | |
|
|