Development

Changeset 19971

You must first sign up to be able to contribute.

Changeset 19971

Show
Ignore:
Timestamp:
07/07/09 11:16:15 (7 months ago)
Author:
Russ
Message:

[doc][1.0,1.1,1.2] Fixes #3968 - Added tip on data_dir location when configuring /sf alias

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.0/book/03-Running-Symfony.txt

    r19818 r19971  
    240240    </VirtualHost> 
    241241 
    242 In the configuration in Listing 3-1, the `$sf_symfony_data_dir` placeholder must be replaced by the actual path. For example, for a PEAR installation in *nix, you should type something like this: 
     242In the configuration in Listing 3-1, the `$sf_symfony_data_dir` placeholder  
     243must be replaced by the actual path. For example, for a PEAR installation in 
     244*nix, you should type something like this: 
    243245 
    244246        Alias /sf /usr/local/lib/php/data/symfony/web/sf 
    245247 
    246248>**NOTE** 
    247 >The alias to the `web/sf/` directory is not mandatory. It allows Apache to find images, style sheets, and JavaScript files for the web debug toolbar, the admin generator, the default symfony pages, and the Ajax support. An alternative to this alias would be to create a symbolic link (symlink) or copy the `/path/to/symfony/data/web/sf/` directory to `myproject/web/sf/`. 
    248  
    249 Restart Apache, and that's it. Your newly created application can now be called and viewed through a standard web browser at the following URL: 
     249>The alias to the `web/sf/` directory is not mandatory. It allows Apache to  
     250find images, style sheets, and JavaScript files for the web debug toolbar,  
     251the admin generator, the default symfony pages, and the Ajax support.  
     252An alternative to this alias would be to create a symbolic link (symlink) or  
     253copy the `/path/to/symfony/data/web/sf/` directory to `myproject/web/sf/`. 
     254 
     255>**TIP** 
     256>If you have installed symfony via PEAR and can't find the symfony shared data 
     257>directory, look in the PEAR `data_dir` which is listed in the PEAR config: 
     258
     259>    pear config-show 
     260 
     261Restart Apache, and that's it. Your newly created application can now be called 
     262and viewed through a standard web browser at the following URL: 
    250263 
    251264    http://localhost/myapp_dev.php/ 
  • doc/branches/1.1/book/03-Running-Symfony.txt

    r19818 r19971  
    241241    </VirtualHost> 
    242242 
    243 In the configuration in Listing 3-1, the `$sf_symfony_data_dir` placeholder must be replaced by the actual path. For example, for a PEAR installation in *nix, you should type something like this: 
    244  
    245     Alias /sf /usr/local/lib/php/data/symfony/web/sf 
     243In the configuration in Listing 3-1, the `$sf_symfony_data_dir` placeholder  
     244must be replaced by the actual path. For example, for a PEAR installation in 
     245*nix, you should type something like this: 
     246 
     247        Alias /sf /usr/local/lib/php/data/symfony/web/sf 
    246248 
    247249>**NOTE** 
    248 >The alias to the `web/sf/` directory is not mandatory. It allows Apache to find images, style sheets, and JavaScript files for the web debug toolbar, the admin generator, the default symfony pages, and the Ajax support. An alternative to this alias would be to create a symbolic link (symlink) or copy the `/path/to/symfony/data/web/sf/` directory to `myproject/web/sf/`. 
    249  
    250 Restart Apache, and that's it. Your newly created application can now be called and viewed through a standard web browser at the following URL: 
     250>The alias to the `web/sf/` directory is not mandatory. It allows Apache to  
     251find images, style sheets, and JavaScript files for the web debug toolbar,  
     252the admin generator, the default symfony pages, and the Ajax support.  
     253An alternative to this alias would be to create a symbolic link (symlink) or  
     254copy the `/path/to/symfony/data/web/sf/` directory to `myproject/web/sf/`. 
     255 
     256>**TIP** 
     257>If you have installed symfony via PEAR and can't find the symfony shared data 
     258>directory, look in the PEAR `data_dir` which is listed in the PEAR config: 
     259
     260>    pear config-show 
     261 
     262Restart Apache, and that's it. Your newly created application can now be called 
     263and viewed through a standard web browser at the following URL: 
    251264 
    252265    http://localhost/frontend_dev.php/ 
  • doc/branches/1.2/book/03-Running-Symfony.txt

    r19818 r19971  
    240240    </VirtualHost> 
    241241 
    242 In the configuration in Listing 3-1, the `$sf_symfony_data_dir` placeholder must be replaced by the actual path. For example, for a PEAR installation in *nix, you should type something like this: 
    243  
    244     Alias /sf /usr/local/lib/php/data/symfony/web/sf 
     242In the configuration in Listing 3-1, the `$sf_symfony_data_dir` placeholder  
     243must be replaced by the actual path. For example, for a PEAR installation in 
     244*nix, you should type something like this: 
     245 
     246        Alias /sf /usr/local/lib/php/data/symfony/web/sf 
    245247 
    246248>**NOTE** 
    247 >The alias to the `web/sf/` directory is not mandatory. It allows Apache to find images, style sheets, and JavaScript files for the web debug toolbar, the admin generator, the default symfony pages, and the Ajax support. An alternative to this alias would be to create a symbolic link (symlink) or copy the `/path/to/symfony/data/web/sf/` directory to `myproject/web/sf/`. 
    248  
    249 Restart Apache, and that's it. Your newly created application can now be called and viewed through a standard web browser at the following URL: 
     249>The alias to the `web/sf/` directory is not mandatory. It allows Apache to  
     250find images, style sheets, and JavaScript files for the web debug toolbar,  
     251the admin generator, the default symfony pages, and the Ajax support.  
     252An alternative to this alias would be to create a symbolic link (symlink) or  
     253copy the `/path/to/symfony/data/web/sf/` directory to `myproject/web/sf/`. 
     254 
     255>**TIP** 
     256>If you have installed symfony via PEAR and can't find the symfony shared data 
     257>directory, look in the PEAR `data_dir` which is listed in the PEAR config: 
     258
     259>    pear config-show 
     260 
     261Restart Apache, and that's it. Your newly created application can now be called 
     262and viewed through a standard web browser at the following URL: 
    250263 
    251264    http://localhost/frontend_dev.php/ 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.