Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter aguilarr7

    (@aguilarr7)

    resolved

    Thread Starter aguilarr7

    (@aguilarr7)

    resolved

    Thread Starter aguilarr7

    (@aguilarr7)

    Thanks you

    Best regards

    Thread Starter aguilarr7

    (@aguilarr7)

    No, perhaps some file but apache service will not start me. That I can do to fix or formatting the pc? I need a detailed guide but step by step installation of wordpress in debian 7.

    Greetings.

    Thread Starter aguilarr7

    (@aguilarr7)

    Hello.

    Use apt-get install apache2 libapache2-mod-php5 php5-mysql mysql-server and client

    then guide me in this video: https://www.youtube.com/watch?v=TZxtPwKGG5I

    and finally install nginx.

    I am a newbie and I think unconfigure all.

    Thanks for the help.

    Thread Starter aguilarr7

    (@aguilarr7)

    a-I use root.

    b- This is the content of wp.conf:
    For this configuration to work you’ll also need to have mod_rewrite
    and mod_vhost_alias loaded and working in Apache.
    To enable these modules run

    a2enmod rewrite && a2enmod vhost_alias && /etc/init.d/apache2 restart

    The above example is checked. Here are some _alternative_ suggestions:

    ## A defined Virtual host

    NameVirtualHost *:80

    <VirtualHost *:80>
    ServerName blog.example.com
    DocumentRoot /usr/share/wordpress/
    DirectoryIndex index.php index.html
    ErrorLog /var/log/apache2/wp-error.log
    TransferLog /var/log/apache2/wp-access.log

    # wp-content in /var/lib/wordpress/wp-content
    Alias /wp-content /var/lib/wordpress/wp-content

    <Directory /usr/share/wordpress>
    Options FollowSymLinks
    Order allow,deny
    Allow from all
    </Directory>
    <Directory /var/lib/wordpress/wp-content>
    Options FollowSymLinks
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>

    ## Without using Virtual host, hosted off /blog

    Alias /blog/wp-content /var/lib/wordpress/wp-content
    Alias /blog /usr/share/wordpress
    <Directory /usr/share/wordpress>
    Options FollowSymLinks
    AllowOverride Limit Options FileInfo
    DirectoryIndex index.php
    Order allow,deny
    Allow from all
    </Directory>
    <Directory /var/lib/wordpress/wp-content>
    Options FollowSymLinks
    Order allow,deny
    Allow from all
    </Directory>

    Thread Starter aguilarr7

    (@aguilarr7)

    Good afternoon.

    Thanks for replying but I could not install or configure it well.

    I apache2 fails. in the installation process I run:
    /etc/init.d/apache2 restart

    but I get this error:
    Syntax error on line 1 of /etc/apache2/conf.d/wp.conf:
    Invalid command ‘There’, Perhaps misspelled or defined by a module not included in the server configuration
    Action ‘configtest’ failed.
    The Apache Error log May Have More information.
    failed!

    What could it be? thx.

Viewing 7 replies - 1 through 7 (of 7 total)