Tạo đường dẫn bằng cách chỉnh apache2.conf trong ubuntu 11.04

Huy Châu - May 15, 2011 - Ubuntu




Terminal gõ : 
sudo gedit /etc/apache2/apache2.conf
 
 
trong file apache2.conf thêm dòng này vào cuối cùng:  
 
# Be sure to only have this line once in your configuration
NameVirtualHost 127.0.0.1:8080

# This is the configuration for your project
Listen 127.0.0.1:8080


  DocumentRoot "/home/webfolder/web"
  DirectoryIndex index.php
  webfolder/web">
    AllowOverride All
    Allow from All
  

  Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  
    AllowOverride All
    Allow from All