Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Npr: C:\xampp\htdocs\

Nastavitve XAMP

ROOT/HOME DIRECTORY:

DocumentRoot "C:\xampp\htdocs\HTTP"

PORT:

Port na katerem deluje server lahko spremeniš v:

...

#Listen 12.34.56.78:80

Listen 8080

...

...

VEČ PORTOV:

Listen 8080
Listen 8090
Listen 80

<VirtualHost *:8080>
DocumentRoot "C:\xampp\htdocs\HTTP\stranka1"
</VirtualHost>

<VirtualHost *:8090>
DocumentRoot "C:\xampp\htdocs\HTTP\stranka2"
</VirtualHost>

Image Added

SERVICE:

Da je apache nameščen kot service se nastavi tako da xamp odpreš kot admin in klikneš na ikono:

...

V mapo xamp-a prenesemo spodnje skripte:

C:\xampp\htdocs\

View file
name.htaccess
View file
nameendpoints(run as admin).bat
View file
nameDBconnect.php
View file
nameindex.php

Prilagodimo DBConnect Zaženemo “endpoints(run as admin).bat“, prilagodimo DBConnect.php in testiramo tako v brskalniku kličemo url, navodila:
Contract prices SHOPAMINE

...