0

コードを適切に追加する方法を知っているOpencartローカルスローされたコンピューターにマルチストアをセットアップした人はいますか。Xampp私はGoogleと同じくらい多くのチュートリアルを投げてきましたが、このフォーラムにはコードを適切に配置する方法がわかりません. ファイルに配置したときにどのように表示されるかのサンプルは、http.conf非常に役立ちます。

チュートリアルでは、Apache 構成ファイルを編集して、各サブストアに「エイリアス」を追加するように求められています。

エイリアス/opcStore_1 "C:/xampp/htdocs/store"

エイリアス/opcStore_2 "C:/xampp/htdocs/store"

  1. このパスに移動します: C:\xampp\apache\conf\
  2. httppd.conf ファイルを見つけて開きます
  3. 「」セクションを検索し、このセクション内に以下のコードを追加します。???

エイリアス/opcStore_1 "C:/xampp/htdocs/store"

エイリアス/opcStore_2 "C:/xampp/htdocs/store"

コードが追加されるとどのように見えますか? 内部のどこに追加し、どのように表示する必要がありますか? 置いてみたのですが、エラーローカルURLしか出てこないので。ありがとう

XAMPPここで、コントロール パネルから Apache サーバーを再起動する必要があります。再起動後、構成にサブストアを追加する必要がありOpencartます。

OpenCartマルチストアの構成。

  1. メイン ストアにログオンします: C:/xampp/htdocs/store/admin
  2. [システム] > [設定] に移動し、ここで新しいストアを追加できます。
  3. ストアの URL を追加する場合: 最初のストアの URL を指定: "http://localhost/opcStore_1/"

2 番目のストアの場合、次の URL を指定します: "http://localhost/opcStore_2/"

4

3 に答える 3

1

このようになり、最後に 5 つのサブストアを追加しました。

# # リダイレクト: 以前はサーバーの名前空間に存在していたが、現在は存在しない # ドキュメントについてクライアントに伝えることができます。クライアントは # 新しい場所でドキュメントの新しいリクエストを行います。# 例: # 永続的な /foo http:// localhost/bar にリダイレクト

#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL.  You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.

#
# ScriptAlias: This controls which directories contain server scripts. 
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client.  The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
#
ScriptAlias /cgi-bin/ "cgi-bin/"  Alias /allbridaljewelry "C:/wamp/www/newStore"  Alias /caketopshop "C:/wamp/www/newStore"

エイリアス /myspecialparty "C:/wamp/www/newStore" エイリアス /superweddingday "C:/wamp/www/newStore" エイリアス /weddingfavorsmart "C:/wamp/www/newStore"

于 2012-12-25T10:43:49.683 に答える
0

開発段階 (localhost ではない) で独自のドメインをセットアップする方法を確認できます/

インドネシア語ですが、translate.google.com で翻訳してみてください。

それが助けになることを願っています。

于 2012-10-14T07:03:34.370 に答える