Results 1 to 22 of 22

Thread: htdocs Xampp ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Banned
    Join Date: Jul:2008
    Location:
    Posts: 911

    htdocs Xampp ?

    c:/xampp/htdocs d:/ htdocs localhost ? .

  2. #2
    Registered User ogun's Avatar
    Join Date: Jul:2009
    Location:
    Posts: 3,936
    php.ini htdocs
    .

  3. #3
    Banned
    Join Date: Jul:2008
    Location:
    Posts: 911
    , htdocs . :/

    2 htdocs , .

  4. #4
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 1,071
    Alias-, htdocs , (alias) URL. ( ) VirtualHost htdocs, , .

    : C:/htdocs, http://localhost/, alias D:/Files, alias files. , http://localhost/files/

    -, apache . subdomain. VirtualHost ( http://localhost ) C:/htdocs. VirtualHost htdocs, D:/Files, http://sub.localhost/ http://newlocalhost/ ... , port (http://localhost:80 http://localhost:8080).

    , , . .


    : , htdocs-a ? ...

  5. #5
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    httpd.conf ( ). php.ini ("" doc_root).
    , ( ), Alias. . NTFS, .
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  6. #6
    Registered User ogun's Avatar
    Join Date: Jul:2009
    Location:
    Posts: 3,936
    :
    2 - htdocs/1 htdocs/2 mod_rewrite
    .

  7. #7
    Banned
    Join Date: Jul:2008
    Location:
    Posts: 911
    @Bombera, ... httpd.conf :

    #
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    #
    DocumentRoot "/xampp/htdocs"
    - DocumentRoot "D:/htdocs" , .

    php.ini ?

    Edit: @ogun mod_rewrite... .

  8. #8
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    DocumentRoot. Directory. :
    Code:
    Alias /second_folder "D:/additional docs"
    <Directory "D:/additional docs">
        Options Indexes FollowSymLinks
        IndexOptions FancyIndexing FoldersFirst NameWidth=* IgnoreCase SuppressLastModified IconHeight=16 IconWidth=16 XHTML
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    -. php.ini .
    Last edited by Bombera; 27th June 2010 at 19:31. Reason:
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  9. #9
    Banned
    Join Date: Jul:2008
    Location:
    Posts: 911
    @Bombera htaccess c:/xampp/hdocs/ ? , , .

    @mialy 2 . 2 .

  10. #10
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    ?!

    directory listing ( AllowIndexes )? .. ( ).
    - , - , , index.php .
    - Alias/Virtual directory.

  11. #11
    Banned
    Join Date: Jul:2008
    Location:
    Posts: 911
    , .

    . php ( ) ?

    Edit: - shortcut htdocs ?

  12. #12
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 1,071
    .. C:\htdocs\ http://localhost/ Directory Listing , ( D:\ E:\)?

    , Apache ...

    .. shortcut .

  13. #13
    Banned
    Join Date: Jul:2008
    Location:
    Posts: 911
    , . .

  14. #14
    a.k.a. Bibi Flower's Avatar
    Join Date: Aug:2006
    Location: Sofia, Bulgaria
    Posts: 562
    "" ? ?
    , , , http://localhost/? ...

  15. #15
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 1,071
    - :

    http://localhost ( FTP), htdocs, . D:\ E:\ ( ),

    Code:
            Name              Last modified       Size         Description 
    [DIR]	Drive_D/       31-May-2010 17:21        - 	 
    [DIR]	Drive_E/       29-Mar-2010 12:30        -
    , ( FollowSymLinks), Linux, Windows . NTFS .

  16. #16
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    - , , , - . , , , , . , 15-20 . -.

  17. #17
    Banned
    Join Date: Jul:2008
    Location:
    Posts: 911
    @mialy .

    @tedych - localhost/index.php?d:/htdocs ? .

  18. #18
    gibona's Avatar
    Join Date: Feb:2005
    Location: Sofia
    Posts: 3,074
    xampp\apache\conf\httpd.conf
    , htdocs :
    Code:
    Alias /downloads1/ "D://Downloads/"
    <Directory "D:/Downloads/">
        Options Indexes FollowSymLinks Includes ExecCGI
    	IndexOptions  -IconsAreLinks FancyIndexing FoldersFirst NameWidth=80 HTMLTable 
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    localhost/downloads1/ D:/Downloads/
    htdocs ( downloads1).

  19. #19
    Banned
    Join Date: Jul:2008
    Location:
    Posts: 911
    ...

    @gibona - httpd.conf :

    Alias /downloads1/ "D://old/"
    <Directory "D:/old/">
    Options Indexes FollowSymLinks Includes ExecCGI
    IndexOptions -IconsAreLinks FancyIndexing FoldersFirst NameWidth=80 HTMLTable
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    /downloads1/ ...

  20. #20
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 1,071
    gibona, !

    @marianskiii,
    downloads1 htdocs ( , ) , http://localhost/downloads1/ ( alias-) htdocs. Apache-a htdocs/downalods1/ , , alias downloads1, D:/old/

    ( "D://old/" "D:/old/", , ), http://localhost/downloads1/ , downloads1 htdocs, , alias- . Alias- <IfModule alias_module> </IfModule>. ( )


    .. , .


    Edit: tedych,
    gibona . .
    Last edited by mialy; 28th June 2010 at 14:46.

  21. #21
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    mialy, , Bombera , "" (http://localhost/).
    . htdocs , , Alias.

  22. #22
    Banned
    Join Date: Jul:2008
    Location:
    Posts: 911
    @gibona, - , .

    @mialy , .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |