Mystiq.org - forum: xampp - web - Mystiq.org - forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

xampp - web spojeni preruseno

#1 User is offline   Kejhal 

  • Group: Registrovaný člen
  • Posts: 25
  • Joined: 22-November 09

Posted 08 January 2010 - 08:12 PM

jak z nazvu vychazi mam problem s xamppem, jelikoz nejsem zadnej expert pres weby a ucim se to, tak mam porad problemy... mam tu jenom jeden hlavni vsechny jine jsem po dlouhem trapeni nejak vyresil.. aktualni problem se kterym uz vazne nevim jak dal je takovyto: mam web, pres localhosta funguje, mam DNS domenu, kdyz se na web pripojim z jinyho pc na localu web funguje, ale kdyz se mi tam chce dostat kdokoliv cizi - spojeni preruseno. porty mam povolene, firewally jsem vypl porad to same... ocekavam ze chyba je nekde v configu, ale nemam tuseni kde, vsude kde bylo blokovani cizich ip jsem zrusil a nejde to porad, takze jestli se tu najde nekdo kdo ma s xamppem zkusenosti a umel by porad, byl bych mu moc vdecny..
Dik za napady co tu napisete.
Stastny novy rok :)
0

#2 User is offline   Snipp 

  • Group: Registrovaný člen
  • Posts: 102
  • Joined: 08-August 08

Posted 08 January 2010 - 09:19 PM

Hlavni je abys mel verejnou IP, jinak se na tebe nikdo nedostane. Coz ale asi mas ze?
0

#3 User is offline   koukam 

  • Group: Registrovaný člen
  • Posts: 316
  • Joined: 05-April 09

Posted 09 January 2010 - 02:02 AM

na xp to po povoleni portu jede bez nastavovani rovnou po instalaci.
0

#4 User is offline   Kejhal 

  • Group: Registrovaný člen
  • Posts: 25
  • Joined: 22-November 09

Posted 09 January 2010 - 11:55 AM

jasne ze mam verejnou IP, jinak bych se do toho nepoustel... takze ip mam, porty povolene, jenom zbyva to nejak povolit, aby to mohli prohlizet i jine ip...
0

#5 User is offline   ANLO 

  • Group: VIP
  • Posts: 9
  • Joined: 02-September 08

Posted 09 January 2010 - 12:23 PM

jedine co asi moze byt v configu je popisane dole nic ine by nemalo zakazovat pristup z "vonku"
nechal som tam aj vsetky komentare
dokumentacia k apache: http://www.apache.co...n/sections.html

a este ma napadlo ale to pochybujem ze v zloske z webom mas .htaccess subor... ked tak dokumentacia je tu: http://www.apache.co...o/htaccess.html

DocumentRoot "D:/Programy/xampp/htdocs"
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# features.  
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "D:/Programy/xampp/htdocs">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks Includes ExecCGI

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all
</Directory>

This post has been edited by ANLO: 09 January 2010 - 12:23 PM

0

#6 User is offline   ANLO 

  • Group: VIP
  • Posts: 9
  • Joined: 02-September 08

Posted 09 January 2010 - 12:28 PM

hmm... ale az teras som si precital podtitulok temy... spojenie prerusese... to nebude nic z pristupom nastavenym v configu alebo .htaccess pretoze inak by to vyhodilo hlasku typu 403 Forbidden

skus este prezriet log...
http://www.apache.co...14.en/logs.html
http://www.apache.co...e.html#errorlog
http://www.apache.co...e.html#loglevel

This post has been edited by ANLO: 09 January 2010 - 12:39 PM

0

#7 User is offline   Kejhal 

  • Group: Registrovaný člen
  • Posts: 25
  • Joined: 22-November 09

Posted 09 January 2010 - 07:44 PM

jak rikam, nejsem zadny znalec a z tech logu jsem nic nevycetl... i kdyz jsem procetl ty stranky... takze jestli bys byl tak ochotny a zkusil se podivat...
http://filebeam.com/...13ef75cf625d21c
jsou tam vsechny 3....
0

#8 User is offline   ANLO 

  • Group: VIP
  • Posts: 9
  • Joined: 02-September 08

Posted 10 January 2010 - 12:05 AM

View PostKejhal, on 09 January 2010 - 07:44 PM, said:

...



no ja na to tiez niesom nejaky profik... z tych logou: z vonku tam mas stale nejake chybove kody (403,404...) skus na koniec configu (tvoj je v D:/Program Files/XAMPP/xampp/apache/conf/httpd.conf) apache vlozit:

<Directory "D:/Program Files/XAMPP/xampp/htdocs/skuska">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order deny,allow
Allow from all
</Directory>

a v zloske htdocs vytvor podzlosku skuska a vloz tam nejaky html subor (najlepsie nejaka jednoducha stranka a nazov najlepsie index.htm) a nech sa ti nato skusi pozriet z vonku cize da http://tvoja_ip/skuska/index.htm
ak to pojde je problem len v tvojom configu ak nie bude niekde inde...

PS: pri poslednom spusteni apache si vlozil order asi inde kde si mal je to na 257 riadku configu

PS: poslem ti v pm moje icq tak ked pisni pretoze riesit to tu cez forum to potrva tak mesiac ;)

This post has been edited by ANLO: 10 January 2010 - 12:10 AM

0

#9 User is offline   Kejhal 

  • Group: Registrovaný člen
  • Posts: 25
  • Joined: 22-November 09

Posted 10 January 2010 - 09:18 AM

jeste muzu dodat, ze vcera jsem to resil s jednim adminem jinyho serveru a rikal, ze router je nejspis spatnej v tom, ze mu chybi NAT, protoze mam 5 IP adres.. ale pres router jede jenom jeden pc, navic na http://www.alfacomp....1K50872Z9000PXU je dole napsano NAT - ano, tak nevim v cem je problenm...
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users


TOPlist